Good day!
I'm starting with NuGet 1.2 on VS2010 Express. I use SVN for my projects (without integration into VS, just TortoiseSVN). The question is -- it seems that NuGet creates folder /packages/
in the root of the solution. It seems that while uninstalling a package NuGet will remove the package folder. This will break the SVN working copy.
Any guidelines on SVN and NuGet working together?
Thanks in advance!
Update: I don't mean that the whole /packages/
folder is removed, I mean that, for example when upgrading T4MVC to 2.6.45 folder /packages/T4MVC.2.6.44
(along with .svn folder inside) will be removed and this will break SVN working copy.
Update 2: As I checked -- NuGet doesn't delete folders if something not belonging to package is inside it (.svn
folder in my case). So if you prefer to store packages
in SVN like I do -- after upgrade you should delete folder left from older version of the package from SVN.
There is a way to run NuGet without checking in the Packages Folder. You would just exclude the whole folder from SVN and follow the steps outlined in David Ebbo's post: http://blog.davidebbo.com/2011/03/using-nuget-without-committing-packages.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With