Consider using VSWhere to locate Visual Studio in build
Open
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
Could avoid hardcoding the path:
https://github.com/JosefPihrt/Roslynator/blob/fe965b358d87255264383c5ab0b576464a76b7e7/tools/build.cmd#L6
https://github.com/microsoft/vswhere
Contributor guide
Research direction
Start with tools/build.cmd at line 6 and review the linked VSWhere project to understand how Visual Studio should be located. Done means the build no longer relies on a hardcoded Visual Studio path and still locates the required installation correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100