TFS 构建无法找到项目文件和 dll

TFS build unable to locate the project file and dlls

我正在尝试 运行 在 TFS 中新建一个 Build,但我收到一个错误:

The project file "D:\Binaries\vsts-agent-win7-x64-2.105.7\_work\s\CompanyA.Solution\..\..\..\Users\ihalarnkar=\Documents\Visual Studio 2013\Projects\CompanyA.Project2\CompanyA.Project2\CompanyA.Project2.csproj" was not found.

还有一些我正在使用的外部 dll,但我没有找到参考。喜欢:

The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

这是否意味着我应该将我在解决方案中引用的所有 dll 也安装在 tfs 服务器上? 解决方案怎么样?添加的每个新项目都应该在 tfs 服务器的物理驱动器上可用吗?

这是我第一次为 SharePoint 提供商托管应用程序配置和使用 DevOps。 请帮忙。

您的解决方案引用有问题 -- 项目引用看起来是针对路径 ..\..\..\Users\ihalarnkar=\Documents\Visual Studio 2013\Projects\CompanyA.Project2\CompanyA.Project2\CompanyA.Project2.csproj

您需要检查项目文件并修复引用。