views:

278

answers:

1

We have a shared project referenced across multiple solutions which, when encountered by TF build causes:

'error MSB3202: The project file "......\trunk\\\sharedproject.csproj" was not found'.

This is fine as the directory structure on the build server does not reflect that of source control. Is it possible to modify the build file to search in a specific location for this project?

+1  A: 

Maybe you should consider adding a dll reference to the shared project instead of a project reference, and then include the dll in your source control. If that is not an option, you could always create another solution file that references the correct path of the share project file on your build server, and use that solution on your build server. I'm inclined to the dll reference though, since option two is harder to maintain in the long run.

Hope it helps.

/Klaus

klausbyskov