简体   繁体   中英

Requirements for TFS Nuget Package Restore

I have set the option on my VS2013 solution "Enable Nuget Package Restore" and its not restoring nuget packages on a build server. Plenty of missing references errors to System.Web.Mvc and so on...

Everything is fine on hosted TFS - but I'm running into issues with a secondary CI server using TeamCity. I don't have visual studio installed on the build server by choice.

I'd like to know how do I enable package restore on the build server.

I don't want the packages in source control and I'd like to avoid hosting my own nuget feed for the System.Web.Mvc etc..

Cheers!

不久前,我遇到了类似的问题,可以通过将Nuget.Targets文件中的RestorePackages条件值更新为True来解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM