NuGet targets, unable to resolve Microsoft.NETCore.App
See original GitHub issueHi,
I followed closely the thread here: https://github.com/Microsoft/vsts-tasks/issues/3311 and it was said that improvement would be made so you could update more quickly the images on the agents, namely VS 2017.
I still cannot use .net core 2.0 in the Hosted VS 2017 as of today although .net core 2.0 preview 1 was released several weeks ago. I cannot even use the Hosted linux and the official docker image as the Hosted linux agents are not available in my hosted agent pool in my team project (not released yet…).
Could you please clarify the plans?
C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Unable to resolve 'Microsoft.NETCore.App (>= 2.0.0)' for '.NETCoreApp,Version=v2.0'.
Detected package downgrade: NETStandard.Library from 2.0.0-preview1-25301-01 to 1.6.1
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:27 (7 by maintainers)
Top Results From Across the Web
NuGet Error NU1100 - Microsoft Learn
NuGet Error NU1100 · Issue. A dependency could not be resolved. · Solution 1. Open the project file and examine the list of...
Read more >Unable to resolve 'Microsoft.NETCore.App (>= 2.1.0)' for ...
I am not sure why the file NuGet.config was empty when I did the setup on my work laptop, but it was configured...
Read more >Unable to resolve Nuget packages - new .net core project
Net Core app to build because nuget packages won't resolve. Visual Studiowindows 10.0visual studio 2017 rc.. This issue is read only, because it...
Read more >Problem: Unable to resolve dependencies of NuGet packages
Solution · Clear the NuGet cache files. You do this in the following way: In the toolbar of Visual Studio, navigate to Tools...
Read more >Unable to resolve 'Microsoft.NETCore.App.Ref (= 3.0.0)' for ...
A quick question. I'm trying to build a DLL for Dot Net Core 3.0. I've chosen that as the Target Framework and when...
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
Actually, three steps vere required to make it work: https://stackoverflow.com/a/45739237/475727
I believe it could work by default without the three steps…
I have same issue I fixed it by “Add https://api.nuget.org/ to trusted site on Internet Option”