azure-pipelines-tasks: NuGet targets, unable to resolve Microsoft.NETCore.App

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 

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 27 (7 by maintainers)

Most upvoted comments

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…