-
Notifications
You must be signed in to change notification settings - Fork 425
Update SDKs #2652
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
Update SDKs #2652
Conversation
| <PackageReference Include="Newtonsoft.Json" /> | ||
| <PackageReference Include="System.Collections.Immutable" /> | ||
| <PackageReference Include="System.Composition" /> | ||
| <PackageReference Include="System.ValueTuple" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got build warnings that System.ValueTuple was unnecessary and could be removed.
d887921 to
21f6d99
Compare
641ecb5 to
9d5e790
Compare
| MicrosoftBuildLocator.RegisterMSBuildPath(instance.MSBuildPath); | ||
| // Find and load NuGet assemblies if msbuildPath is in a VS installation. This mimics what | ||
| // Microsoft.Build.Locator does when calling RegisterInstance. | ||
| var nugetPath = Path.GetFullPath(Path.Combine(instance.MSBuildPath, "..", "..", "..", "Common7", "IDE", "CommonExtensions", "Microsoft", "NuGet")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What changed here that made it break on the SDK upgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So kept having runs on Windows where project loading was failing due to a missing NuGet method seeing this issue - dotnet/msbuild#6289. I am certain the circumstances are different but then I looked at msbuildlocator which has this behavior on .NET Framework when calling RegisterInstance. I just copied it over to work here. I can likely remove it, but am deferring until I remove net472 as a build target.
Builds on the SDK update PR #2652
No description provided.