我在这里结束了。我尝试了一切,我可以找到让NuGet恢复我的包在TFS构建服务器和没有似乎工作。 (我检查的最新变化是here)。我已阅读了很多关于构建过程模板的较旧版本的问题,因此我只是将构建更改为使用TfvcTemplate.12.xaml,并且仍然没有包被恢复。 (以上来自链接)这一最新的变化让我删除NuGet.targets文件,现在我得到一个错误说:NuGet自动包恢复在我的构建服务器上不适用于我
This project references NuGet package(s) that are missing on this computer.
Enable NuGet Package Restore to download them. For more information, see
http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is
:\Builds\TFS\WebApps\src\WebApps\Main\Src\\.nuget\NuGet.targets.
任何帮助将在这里非常感激!