title: remove nuget package restore from solution
body: <p>I added the recent nuget package restore feature to a solution using 'Enable NuGet Package Restore':
  <a href="http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages" rel="noreferrer">http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages</a></p>
  
  <p>However it broke my build server and I didn't have the time to fix it, so I wanted to remove it. There's no option for that as far as I know, so I removed the following line manually from all my *.csproj files:</p>
  
  <pre><code>&lt;Import Project="$(SolutionDir)\.nuget\nuget.targets" /&gt;
  </code></pre>
  
  <p>The problem now is that every time my *.csproj files are checked out or open my solution, the line is automatically added again, breaking my build if I accidentally check it in :(</p>
  
  <p>Any ideas how I can remove it permanently?</p>
  
  <p>UPDATE: despite the answer below it still keeps coming back when opening the solution, anyone with the same problem?</p>