roslynator icon indicating copy to clipboard operation
roslynator copied to clipboard

Consider using VSWhere to locate Visual Studio in build

Open xtqqczze opened this issue 4 years ago • 2 comments
trafficstars

Could avoid hardcoding the path: https://github.com/JosefPihrt/Roslynator/blob/fe965b358d87255264383c5ab0b576464a76b7e7/tools/build.cmd#L6

https://github.com/microsoft/vswhere

xtqqczze avatar Jul 28 '21 16:07 xtqqczze

@xtqqczze thanks for the tip!

josefpihrt avatar Jul 29 '21 17:07 josefpihrt

It seems you made changes in d880e64c24394e9e52fac36bd38dae75f2e27c3d so I no longer have to modify build.cmd.

It still might be worth considering using VSWhere for the case of Enterprise Visual Studio at different path, but close this issue if you want.

xtqqczze avatar Jul 30 '21 02:07 xtqqczze