sdk:5.0 latest tag fails to restore project targeting netcoreapp3.1
See original GitHub issueDescribe the Bug
Since the release of the newest dotnet sdk tag, 5.0.202
, our projects have been failing to restore projects that are targeted at netcoreapp3.1
Error:
--------------------------------------------------------------------------------------
12:38:37 Determining projects to restore...
12:39:03 MyApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 3.1.14)
12:39:03 MyApp.csproj : error NU1102: - Found 45 version(s) in nuget.org [ Nearest version: 5.0.0-preview.1.20120.5 ]
12:39:03 MyApp : error NU1102: - Found 0 version(s) in Rev.com myget
csproj
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<LangVersion>latest</LangVersion>
<ApplicationIcon />
<OutputType>Exe</OutputType>
</PropertyGroup>
Reverting back to explicit sdk:5.0.201
tag fixes this behavior
Steps to Reproduce
Using latest docker tag sdk:5.0
, sdk:5.0-latest
, sdk-5.0.202
, try to restore a project targeted at netcoreapp3.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Fixing build warning NETSSDK1138 when ...
In this short post I describe how to get rid of the following build warning: C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.
Read more >asp.net - The current .NET SDK does not support targeting . ...
Not a complete answer, but when I got this error, deleting all my bin, obj, internal build outputs, and .vs folders and then...
Read more >Started to get "This project is targeting a version of .NET ...
I'm getting this same issue with ASP.Net Core 3.1. The solution has been fine for two years and now it want's to install...
Read more >Dotnet build linux. The answer you're looking for is basically
0 and a console application project targeting . ... I suggest to change to: 1 - 'dotnet restore'; 2 - 'dotnet --no-restore --configuration...
Read more >Unable to publish using target framework netcore3.1 and ...
When I try to publish it to a folder, using target runtime win-x64 ... can go to the command line and run “dotnet...
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 FreeTop 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
Top GitHub Comments
We have published 3.1.14 nuget packages. Please let us know if this issue is resolved.
I see it resolved with my local VS build scenario.