title: checking ASP.net webAPI out using TFS with GIT into different directory causes missing directive or assembly reference errors
body: <p>I had a ASP.net 4.5 webAPI that worked well that was located in C:\users\me\source\MyProject .</p>
  
  <p>I then needed to push this project to a new Git Repo in Visual studio online.  </p>
  
  <p>to push it there I did the following </p>
  
  <pre><code>git remote add origin https://my-cool-webAPI.visualstudio.com/DefaultCollection/_git/MYcoolProject 
  git push -u origin --all
  </code></pre>
  
  <p>Everything appeared to be fine. </p>
  
  <p>So i then cloned this project from the Visual Studio Online TFS Git repo to a new source directory. </p>
  
  <p>It was in <code>C:/users/me/source/MyProject</code> and I moved it to <code>C:\Users\me\Desktop\Source\MyProject</code></p>
  
  <p>Now I have 166 errors and 166 warnings complaining about assembly references. </p>
  
  <p><img src="https://i.stack.imgur.com/FE9jY.png" alt="enter image description here"></p>
  
  <p>Here is more detail on a specific error. </p>
  
  <p><img src="https://i.stack.imgur.com/FhfNW.png" alt="enter image description here"></p>
  
  <p><strong>Any idea what I did wrong?</strong> </p>
  
  <p>** it looks like my references are out of wack, Notice it doesnt know the path to find Entity-Framework.<br>
  <img src="https://i.stack.imgur.com/83Q7T.png" alt="enter image description here"></p>
  
  <p><strong>Is this because I didnt check in the Packages folder or something else</strong></p>
  
  <p>How do I refresh them? and How does one ensure they make it to source control, ie are they managed by a certain file similar to say a Rails Gemfile? </p>
  
  <p>Currently I am doing the following steps to try and run my WebAPI that had no errors before I moved it to this new repo. </p>
  
  <ol>
  <li>Clean the solution (that succeeds)</li>
  <li>Build the solution (166 errors and 166 warnings)</li>
  </ol>