nuget-package-restore

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

南楼画角 提交于 2019-11-26 11:12:34
问题 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 trying to build a project that uses custom package sources for NuGet automatic package restore. I\'ve successfully deployed an a Team Services Build Agent (the new mechanism for builds) and all seemed to go well until the build task to Restore NuGet packages failed. The failure was due to custom/private package source not being picked

How do I enable NuGet Package Restore in Visual Studio?

懵懂的女人 提交于 2019-11-26 04:29:59
问题 There\'s a similar post on stack but it doesn\'t help with my issue possibly because I am using Visual Studio 2015. How do I get the \"Enable NuGet Package Restore\" option to appear in VS2015? I chose File > New Project and created an empty ASP.NET Web Application . I\'m looking for this menu option. I should mention that I have looked for any pre-existing nuGet files in my project folder and there are none. 回答1: It took far too long but I finally found this document on Migrating MSBuild