question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NuGet targets, unable to resolve Microsoft.NETCore.App

See original GitHub issue

Hi,

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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:27 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
Lierocommented, Aug 18, 2017

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…

0reactions
tongtrongnhancommented, Jun 23, 2020

I have same issue I fixed it by “Add https://api.nuget.org/ to trusted site on Internet Option”

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found