Skip to content

Resolve build failure when SSMS is installed #6575

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Jun 5, 2025

Summary

After installing SQL Server Management Studio (SSMS) 21, I noticed that I started getting errors during the build of the platform. SSMS 21 started using the Visual Studio Installer to manage installations and updates, so it appears that NuGet is finding and using its version of MSBuild instead of Visual Studio's.

This PR uses vswhere to find the latest Visual Studio version and pass that to NuGet.exe

See also NuGet/Home#14349

@bdukes bdukes added this to the 10.0.2 milestone Jun 5, 2025
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@valadas
Copy link
Contributor

valadas commented Jun 5, 2025

Looks like CI did not like it though...

@bdukes
Copy link
Contributor Author

bdukes commented Jun 5, 2025

Weird. I adjusted it a smidge and it looks to be working.

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

Successfully merging this pull request may close these issues.

2 participants