Skip to content

visual studio detection using hardcoded paths #9878

Description

@VladyslavSan

So I've been going through the setup guide for Windows and I was hitting the wall because it was failing the .bat scripts. So it had some paths hardcoded for some reason and let's say if I install my visual studio into a different disk from the system then %PROGRAMFILES% will lead to disk C where no visual studio exists.

If it is of any value to the community I can push pull request that instead uses industry standard vswhere script that is installed with every modern visual studio instalation. It allows to query visual studio installed (if multiple are installed) and select the one you are interested in, then get all the needed paths from it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions