You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We started getting NU1902 && NU1903 errors with the version of the packages we were using because of the transient package System.Formats.Asn1. So we needed to upgrade our packages. When upgrading the latest version of the AspNetCore packages is 9.0.0. Which does not support .NET 8. We can obviously pick 8.0.11 which does support .NET 8.
My question is, why not support multiple versions in the latest builds? With .NET 9 just being released many of us have not migrated as of yet. Was there any technical reason for doing so? And if not, could support for other versions be added to the latest build?
Side note, it is frustrating that the Solution package manager even shows you versions for which you are not capable of using. It would be nice if it did not even show the 9.0.0 version as an option to upgrade to.
Expected Behavior
Nuget packages support multiple versions.
Steps To Reproduce
Create a .net 8 project
reference one of the 9.0.0 dlls like Microsoft.AspNetCore.WebUtilities👍
Package is not usable
Exceptions (if any)
No response
.NET Version
9.0.100
Anything else?
Visual Studio 17.12.1
ASP.NET 17.12.178.10385
dotnet --info
.NET SDK:
Version: 9.0.100
Commit: 59db016f11
Workload version: 9.0.100-manifests.c6f19616
MSBuild version: 17.12.7+5b8665660
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100\
.NET workloads installed:
[aspire]
Installation Source: VS 17.12.35514.174
Manifest Version: 8.2.2/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.2.2\WorkloadManifest.json
Install Type: Msi
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.0
Architecture: x64
Commit: 9d5a6a9aa4
.NET SDKs installed:
3.1.426 [C:\Program Files\dotnet\sdk]
5.0.408 [C:\Program Files\dotnet\sdk]
6.0.428 [C:\Program Files\dotnet\sdk]
8.0.404 [C:\Program Files\dotnet\sdk]
9.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
We started getting NU1902 && NU1903 errors with the version of the packages we were using because of the transient package System.Formats.Asn1. So we needed to upgrade our packages. When upgrading the latest version of the AspNetCore packages is 9.0.0. Which does not support .NET 8. We can obviously pick 8.0.11 which does support .NET 8.
My question is, why not support multiple versions in the latest builds? With .NET 9 just being released many of us have not migrated as of yet. Was there any technical reason for doing so? And if not, could support for other versions be added to the latest build?
Side note, it is frustrating that the Solution package manager even shows you versions for which you are not capable of using. It would be nice if it did not even show the 9.0.0 version as an option to upgrade to.
Expected Behavior
Nuget packages support multiple versions.
Steps To Reproduce
Exceptions (if any)
No response
.NET Version
9.0.100
Anything else?
The text was updated successfully, but these errors were encountered: