-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
There's a new warning when building WPF projects targeting net472 using desktop msbuild.exe /r:
C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(267,5): warning NETSDK1221: NuGetPackageRoot property is empty so package Microsoft.Net.Sdk.Compilers.Toolset cannot be used but it is recommended because your MSBuild and SDK versions are mismatched. Ensure you are building with '/restore /t:Build' and not '/t:Restore;Build'. [C:\proj\proj_o3rfveu0_wpftmp.csproj]
This is a breaking change and is potentially urgent, cc @marcpopMSFT