Platform-specific NuGet packages missing for 5.0 Preview 5
See original GitHub issueSDK version: 5.0.100-preview.5.20269.3 Runtime version: 5.0.0-preview.5.20268.9 ASP.NET version: 5.0.0-preview.5.20265.8
I’ve got a test that attempts to publish a web app as a self-contained app. This runs on a variety of platforms (Linux ARM64, Linux musl ARM64, Linux x64, Linux musl x64). They all fail due to errors finding the NuGet packages.
NuGet Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
<add key="aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
Errors from tests:
/app/app.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64 with version (= 5.0.0-preview.5.20268.9)
/app/app.csproj : error NU1102: - Found 1638 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20224.13 ]
/app/app.csproj : error NU1102: - Found 20 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
/app/app.csproj : error NU1102: - Found 0 version(s) in aspnetcore
/app/app.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64 with version (= 5.0.0-preview.5.20265.8)
/app/app.csproj : error NU1102: - Found 627 version(s) in aspnetcore [ Nearest version: 5.0.0-alpha1.19472.2 ]
/app/app.csproj : error NU1102: - Found 416 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20223.13 ]
/app/app.csproj : error NU1102: - Found 22 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20257.10 ]
/app/app.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64 with version (= 5.0.0-preview.5.20268.9)
/app/app.csproj : error NU1102: - Found 1638 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20224.13 ]
/app/app.csproj : error NU1102: - Found 20 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
/app/app.csproj : error NU1102: - Found 0 version(s) in aspnetcore
/app/app.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-x64 with version (= 5.0.0-preview.5.20265.8)
/app/app.csproj : error NU1102: - Found 627 version(s) in aspnetcore [ Nearest version: 5.0.0-alpha1.19472.2 ]
/app/app.csproj : error NU1102: - Found 413 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20223.13 ]
/app/app.csproj : error NU1102: - Found 22 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20257.10 ]
/app/app.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-musl-arm64 with version (= 5.0.0-preview.5.20268.9)
/app/app.csproj : error NU1102: - Found 1638 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20224.13 ]
/app/app.csproj : error NU1102: - Found 20 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
/app/app.csproj : error NU1102: - Found 0 version(s) in aspnetcore
/app/app.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-musl-arm64 with version (= 5.0.0-preview.5.20268.9)
/app/app.csproj : error NU1102: - Found 2033 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20224.13 ]
/app/app.csproj : error NU1102: - Found 22 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
/app/app.csproj : error NU1102: - Found 0 version(s) in aspnetcore
/app/app.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 with version (= 5.0.0-preview.5.20265.8)
/app/app.csproj : error NU1102: - Found 392 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20223.13 ]
/app/app.csproj : error NU1102: - Found 359 version(s) in aspnetcore [ Nearest version: 5.0.0-alpha1.19472.2 ]
/app/app.csproj : error NU1102: - Found 21 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20257.10 ]
/app/app.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-musl-x64 with version (= 5.0.0-preview.5.20268.9)
/app/app.csproj : error NU1102: - Found 1638 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20224.13 ]
/app/app.csproj : error NU1102: - Found 20 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
/app/app.csproj : error NU1102: - Found 0 version(s) in aspnetcore
/app/app.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 with version (= 5.0.0-preview.5.20265.8)
/app/app.csproj : error NU1102: - Found 627 version(s) in aspnetcore [ Nearest version: 5.0.0-alpha1.19472.2 ]
/app/app.csproj : error NU1102: - Found 414 version(s) in dotnet-core [ Nearest version: 5.0.0-preview.5.20223.13 ]
/app/app.csproj : error NU1102: - Found 22 version(s) in api.nuget.org [ Nearest version: 5.0.0-preview.4.20257.10 ]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
NuGet Packages are missing - visual studio
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information ...
Read more >Troubleshooting NuGet Package Restore in Visual Studio
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. The missing file is { ......
Read more >Xamarin.Forms 5.0.0.2612
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase.
Read more >FirebaseAuthentication.net 4.0.2
Unofficial C# implementation of Firebase authentication targetting .NET Standard. The library provides a drop-in auth solution that handles the flows for ...
Read more >ArcGIS Runtime SDK for .NET references missing in
Where Platform specific ArcGIS NuGet packages were obviously referenced from the platform specific projects (.Android/.iOS.UWP).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Already put up a PR. https://github.com/dotnet/installer/pull/7574
Happens to all platforms with the latest installer/preview6