title: Share code between projects in tfs 2010
body: <p>What is the best way to handle code sharing in TFS 2010?
  We have a couple of Visual studio projects that other Visual Studio projects use.
  ex:  </p>
  
  <p>Shared Project</p>
  
  <p>Project 1 Solution<br>
  -Shared Project<br>
  -Project 1 Project  </p>
  
  <p>Project 2 Solution<br>
  -Shared Project<br>
  -Project 2 Project  </p>
  
  <p>Also we have Third party code for example:<br>
  Third Party<br>
  -Telerik<br>
  --2009.1.402.35<br>
  --2009.02.0701.35  </p>
  
  <p>When I open my "Project 1" solution i want my shared code project to be included in that solution. (thats the way we work today).<br>
  We basically have one TFS Project that contains all the code.
  Now we want to use it the "right" (?) way, We would like to have Project 1 and 2 in separate TFS solutions.</p>
  
  <p>If I for example makes sure we have all our project in the same structure on disk and just add the shared project to my Project 1 solution (even if the projects reside in two different TFS Projects) would that work with builds?</p>
  
  <p>How have you solved the problem, I guess we are not the only ones having shared code between projects?</p>
  
  <p>Cheers
  /Jimmy</p>