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
When using the .NET 8.0.304 SDK, and then attempting to build a project that targets net6.0, the build fails because it tries to use version 6.0.33 which is not on any nuget feeds yet (nuget.org or dotnet-public).
This is causing the dotnet-performance test runs against .NET 8 scenarios to fail currently (link to example failure). The issue does not reproduce when installing the latest daily .NET 9 SDK which uses 6.0.32.
I don't know enough about the .NET release process to know if the bug here is with the SDK referencing a version that shouldn't be referenced, or that 6.0.33 should be published to nuget.org but isn't.
To Reproduce
Install latest daily version of .NET 8 (which at the time of this issue is installing 8.0.304):
Edit MyApp.csproj to use net6.0 as the target framework
Run dotnet build
Exceptions
PS C:\Users\caaavik\Documents\dotnet8-test\MyApp> dotnet build
Determining projects to restore...
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 120 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.WindowsDesktop.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 116 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22077.5 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 121 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22109.13 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.win-x64 with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 169 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
Failed to restore C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj (in 245 ms).
Build FAILED.
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 120 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.WindowsDesktop.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 116 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22077.5 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 121 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22109.13 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.win-x64 with version (= 6.0.33)
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 169 version(s) in nuget.org [ Nearest version: 7.0.0-preview.1.22076.8 ]
C:\Users\caaavik\Documents\dotnet8-test\MyApp\MyApp.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
0 Warning(s)
4 Error(s)
Time Elapsed 00:00:00.86
The text was updated successfully, but these errors were encountered:
8.0.304 is not a stable release yet (you're explicitly using -Quality daily in the install script) so this is kind of expected, you'd need additional feeds to get the not-yet-published version of the packages.
Describe the bug
When using the .NET 8.0.304 SDK, and then attempting to build a project that targets net6.0, the build fails because it tries to use version 6.0.33 which is not on any nuget feeds yet (nuget.org or dotnet-public).
This is causing the dotnet-performance test runs against .NET 8 scenarios to fail currently (link to example failure). The issue does not reproduce when installing the latest daily .NET 9 SDK which uses 6.0.32.
I don't know enough about the .NET release process to know if the bug here is with the SDK referencing a version that shouldn't be referenced, or that 6.0.33 should be published to nuget.org but isn't.
To Reproduce
MyApp.csproj
to usenet6.0
as the target frameworkdotnet build
Exceptions
The text was updated successfully, but these errors were encountered: