-
Notifications
You must be signed in to change notification settings - Fork 249
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
Packaging of 'net5.0-windows' broken since 5.9.1.11 #10853
Comments
@GeertvanHorrik Edit: |
This is by design. Change here; NuGet/NuGet.Client#3691 |
- Apparently the TFM net5.0-windows must be net5.0-windows7.0 (see NuGet/Home#10853) - MSBuild Locator needed an update - `projectCollection.LoadProject` was complaining that it couldn't find the Microsoft.NET.Sdk - The C++ projects were building against net4 instead of net472 for some unkown reason leading to complaints that net4 can't target netstandard2 etc. - adding a check fixed that
- Apparently the TFM net5.0-windows must be net5.0-windows7.0 (see NuGet/Home#10853) - MSBuild Locator needed an update - `projectCollection.LoadProject` was complaining that it couldn't find the Microsoft.NET.Sdk - The C++ projects were building against net4 instead of net472 for some unkown reason leading to complaints that net4 can't target netstandard2 etc. - adding a check fixed that
Details about Problem
NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): NuGet.exe
Product version:
Worked before? If so, with which NuGet version:
Worked: 5.8.1
Not working: 5.9.1.11
Repro steps and/or sample project
We want to package a NuGet package with only "net5.0-windows". We need this to support our Squirrel installations and updates.
Before 5.9, we could create a package for a project targeting net5.0-windows. After the update, we no longer can package because of this error:
Our potential workarounds are:
Verbose Logs
The text was updated successfully, but these errors were encountered: