Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Issue: VS2010 - Package Restore always adds "packages" folder to TFS [3150]

$
0
0
Hi,

we have solutions with enabled package restore. There is disableSourceControlIntegration set to true in nuget.config. But everytime someone gets the latest version from TFS and uses "Restore" button in Package Manager Console, this package folder is added to pending changes. Is there any bug in VS2010 console or why it happens? We have the latest console version (2.2.40116.9051). I think the same thing happens when I try to install a new package to project. When packages folder is created, it is always in pending changes.

Thnx for any help.
Comments: @tfabraham, you can leave the .nugget\nugget.targets file in your solution, so that disableSourceControlIntegration can still be honored with the new package restore in 2.7. here is a document for your reference - http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore. could you please give it a try and see if that solves your issue? Thanks.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>