Programmatically finding the VS2017 installation directory

前端 未结 10 1204
梦谈多话
梦谈多话 2020-12-06 17:49

With previous versions of VS you could query the registry to determine the installation directory for VS:

HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Visu

10条回答
  •  时光取名叫无心
    2020-12-06 18:34

    See following answer in here:

    https://stackoverflow.com/a/55754831/2338477

    You can use either command line tool for querying Visual studio location, but I also provide programmatic way to query Visual Studio location. Code is based upon vswhere source code, but simplified.

提交回复
热议问题