Team Foundation Service build fails on NuGet package restore

后端 未结 10 1893
半阙折子戏
半阙折子戏 2020-12-13 02:23

I\'m having kind of an odd problem with my Team Foundation Service build. I queue it up and it starts just fine, but then it fails with the following error:



        
10条回答
  •  醉梦人生
    2020-12-13 03:01

    Either the required TFSBuild targets files must be included in source control or the NuGet packages must be restored prior to attempting to build the solution.

    Details on how to do this are provided on the nuget.org.

    It basically involves creating a new build project file which first restores packages and then builds your solution.

提交回复
热议问题