Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be more strict about locating MSBuild.exe #279

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

jeffkl
Copy link
Collaborator

@jeffkl jeffkl commented Oct 7, 2021

If a user has an msbuild.bat on the PATH or some really old version, SlnGen won't work and there is no alternative action a user can do to get unblocked.

This change makes the search for MSBuild.exe more strict by only looking for MSBuild.exe and requiring that it be version 15 or above.

Fixes #278

If a user has an msbuild.bat on the PATH or some really old version, SlnGen won't work and there is no alternative action a user can do to get unblocked.

This change makes the search for MSBuild.exe more strict by only looking for MSBuild.exe and requiring that it be version 15 or above.

Fixes microsoft#278
@jeffkl jeffkl enabled auto-merge (squash) October 7, 2021 20:38
@jeffkl jeffkl merged commit 59563ea into microsoft:main Oct 7, 2021
@jeffkl jeffkl deleted the strict-msbuild branch October 7, 2021 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to ignore PATH msbuild on Windows
1 participant