How to get TFS2015 Build (Build.vnext) and NuGet package restore to use custom package sources

后端 未结 8 1603
迷失自我
迷失自我 2020-11-30 07:52

I\'m trying to get our TFS2015 Build (TFSBuild vnext) going along with VS Team Services.

Thus far most blogs and documentation has been helpful, except for when try

8条回答
  •  自闭症患者
    2020-11-30 08:27

    Alternatively you could also add a NuGet Installer build step before the Visual Studio Build step in your build configuration to restore all NuGet packages.

    There you can pass the location of your private repo as argument to nuget.exe:

    -source "https://www.nuget.org/api/v2/;http://mynugetserver"

提交回复
热议问题