TFSBuild/MSBuild and Project Reference vs File Reference

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-03-05T11:11:46Z Indexed on 2010/06/18 11:23 UTC
Read the original article Hit count: 328

We Have a large VS solution using project references which is build by TFS Build like so:

Solution
- Project 1
- Project 2
- Project ...
- Project N

Because the solution is too large we have several smaller solutions which we use day to day:

SubSolution
- Project 1
- Project 19

The problem is that developers working on SubSolution find that it is not building because the project references could not be found, so they change the projects to use file references.

This then goes on to break the TFS Build which cannot find these file references because they have not been built yet (Even though the projects are in the same solution). Is there a way around this tug of war between the two types of references. What is the correct way of splitting out your solutions?

© Stack Overflow or respective owner

Related posts about tfs

Related posts about msbuild