Solution.metaproj error MSB3202: The project file 'xxx' was not found

戏子无情 提交于 2019-12-23 10:00:31

问题


I have a TFS Project with two main folders:

Project

--Folder1

----LibraryA

--Folder2

----AppA referencing LibraryA

When I build AppA solution, TFS fails to build, providing the following Error:

C:\Builds\1\Project\AppA\Sources\Folder2..\Folder1\LibraryA\LibraryA.csproj

I think TFS is doing something like $(CurrentBuildDir)$(ProjectReferenceSourceLocation), which just sticks the ..\Folder1\LibraryA part on there.

I know shared assemblies should probably be build in their own solution and then references made to the build copies but this is how it is.

Any ideas how to get TFS to know how to navigate out of the solution folder to find referenced projects?

TIA


回答1:


A possible pitfall here is that you haven't set the source control path under $/Project1/Folder1/LibraryA as an active Working folder in the Workspace tab of your build definition.

If that's the case, sources won't be downloaded to the build-Agent during Build & naturally the compile is going to fail complaining about missing sources.



来源:https://stackoverflow.com/questions/8592277/solution-metaproj-error-msb3202-the-project-file-xxx-was-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!