NuGet and Subversion

Nov 3, 2011 at 9:29 AM

Has anyone got guidance on how to use NuGet with Subversion in a team environment?

Nov 3, 2011 at 10:25 AM

Do you mean how to consume nuget packages or generate them? For consuming them I generally put the packages.config file into svn. But that is it. The result is that everyone who checks out my code has to run the nuget executable with "install" command before they can open it in the IDE. I've seen other package maintainers check solution's packages directory into svn so you can just build when you check everything out. I prefer my method, but it would be nice if there was a easy way to have nuget install and download everything during the solution load. :-)

Nov 3, 2011 at 10:29 AM

It will be done at compile time starting from version 1.7 if you choose to activate it on your project.

However, you can use NuGetPowerTools for now (http://nuget.org/List/Packages/NuGetPowerTools) which is a preview of the functionality for the next release.

Nov 3, 2011 at 12:35 PM
I highly second nekresh's comments. You can just open the solution and build it. It will download all missing packages. That cuts out the extra step of having to run nuget.exe prior to opening visual studio. On the build server (and on appharbor) it just works without any extra effort or jumping through hoops required. It's freaking awesome!
____
Rob
"Be passionate in all you do"

http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder

Nov 3, 2011 at 1:31 PM
Minor correction to nekresh's comment: it will be in the upcoming 1.6 version, not 1.7.

Sent from my Windows Phone

From: ferventcoder
Sent: 11/3/2011 5:35 AM
To: Luan Nguyen
Subject: Re: NuGet and Subversion [nuget:278161]

From: ferventcoder

I highly second nekresh's comments. You can just open the solution and build it. It will download all missing packages. That cuts out the extra step of having to run nuget.exe prior to opening visual studio. On the build server (and on appharbor) it just works without any extra effort or jumping through hoops required. It's freaking awesome!
____
Rob
"Be passionate in all you do"

http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder