VSTS build: Packages failed to restore - Unable to resolve 'NETStandard.Library (>= 1.6.1)' for '.NETStandard,Version=v2.0'

后端 未结 5 1422
盖世英雄少女心
盖世英雄少女心 2020-12-25 13:33

I\'m getting

Unable to resolve \'NETStandard.Library (>= 1.6.1)\' for \'.NETStandard,Version=v2.0\'.

in VSTS build using Hosted

5条回答
  •  悲&欢浪女
    2020-12-25 14:23

    You should select Feed(s) I select here for Feeds to use option. If you leave Use packages from this VSTS/TFS feed empty, packages will be downloaded from https://dist.nuget.org/.

    Else, if you want to use Feeds in my NuGet.config as Feeds to use, you should specify the path for your NuGet.config file.

提交回复
热议问题