title: Visual Studio 2015 with TFS 2010
body: <p>We recently upgraded SQL Server 2008 to SQL Server 2014 and since we had DB projects we also had to upgrade Visual Studio from 2010 to 2015 in order to support build and deployment of DB projects from Visual Studio locally.</p>
  
  <p>We are now trying to use Visual Studio Enterprise 2015 with TFS 2010
  But I am facing issues with build automation and TFS server</p>
  
  <ol>
  <li><p>When I try to select "Items to Build" I am getting this message box,</p>
  
  <p><a href="https://i.stack.imgur.com/S3cHM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S3cHM.jpg" alt="enter image description here"></a></p></li>
  <li><p>When I try to open the build template I am not able view some of the agent scope,</p>
  
  <p><a href="https://i.stack.imgur.com/pMMml.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pMMml.jpg" alt="enter image description here"></a></p></li>
  </ol>
  
  <p>Much appreciate any advice that can help to fix this issue, thanks.</p>
  
  <p>============= UPDATE ========================</p>
  
  <p>I have VS 2010 and VS 2015 installed on same workstation (2010 in primary drive and 2015 in secondary drive), it seems it is pointing to teamfoundation dll's of version 2010. </p>
  
  <p>I manually tried to install Microsoft.TeamFoundation.Build.Workflow of VS 2015 in GAC; this solved my second problem (i.e. no problem in viewing the build template now) but I am still facing same error while selecting "Items to build" </p>
  
  <p>================================</p>