Some time earlier, I posted about “Restoring NuGet Packages for External Dependencies” to restore dependencies when building solution and this way you don’t have to commit “packages” folder.
Just a short note: If you are working with Git and have enabled restoring NuGet packages automatically then perhaps it would be helpful to add “packages/” to .gitignore file as you don’t want to commit the packages folder.
This is also been handled in latest VisualStudio.gitignore sample available at github/gitignore. By default the “packages/” is commented so don’t forget to uncomment the line (see line# 98).


Categories: GitNuGet


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *