title: How to handle TFS DLLs with two different versions of Visual Studio
body: <p>So I'm working on a program that interacts with TFS via the API, I am running things like check in check out, get workspace etc.</p>
  
  <p>We recently updated to Visual studio 2015, this is where the problem happens. I had to re-add my references to the DLL's from here. Now the program works on my machine but not on any elses who use the 2013 version of Visual Studio.</p>
  
  <p>If I grab the DLL's from the older version of Visual Studio, it works on their machines but not mine.</p>
  
  <p>I can't seem to find a way to be able to get this to work on both machines.</p>
  
  <p>Any ideas?</p>
  
  <p>It's specifically failing on the get workspace portion of the code.</p>
  
  <pre><code> workspace = versionControlServer.GetWorkspace(path);
  </code></pre>
  
  <p>It always returns the no items mapped exception.</p>
  
  <p>any method using versioncontrolserver always returns there is no mapping error.</p>