title: Is there a way to restore the 'packages.config' file in a C# project?
body: <p>For whatever reason after pulling this solution off our TF server, all of the 'packages.config' files are missing that I believe are used for restoring Nuget packages when the projects are being built.</p>
  
  <p>Is there any way to make VS restore these files automatically?</p>
  
  <p>EDIT:</p>
  
  <p>more of a follow-up question, since I can't make another, VS is fully disallowing me from adding references to one of the projects now.</p>
  
  <p>I can't point it to the DLL's, I can't remove the reference and re-add them, installing/reinstalling the Nuget packages will not fix the references. Rebuilding, restarting VS, running as admin, etc. - nothing will make these references stop having the yellow triangle. Many of the things it is claiming it cannot find are built in.</p>
  
  <p><a href="https://i.stack.imgur.com/Yd90T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yd90T.png" alt="enter image description here"></a></p>