Using NuGet to handle packages

If you are having a problem using Vault, post a message here.
Post Reply
lynnroth
Posts: 39
Joined: Mon Aug 01, 2005 2:51 pm
Location: Wauseon, OH
Contact:

Using NuGet to handle packages

Post by lynnroth » Thu Oct 13, 2011 9:13 am

Is there any support planned for using NuGet to handle packages?

It would be nice to have new packages added to vault automatically, or at least have an easy way to add everything in.
Lynn Roth
Interactive Financial Solutions, Inc.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Using NuGet to handle packages

Post by Beth » Thu Oct 13, 2011 9:31 am

I'm assuming you're using NuGet as a add-in to Visual Studio, correct?

If your project is under source control already, when you have NuGet add items to the project does it update the .proj or .sln file? If those get updated, then Visual Studio should run its algorithm to decide if it will send us the command to add it to source control.
Beth Kieler
SourceGear Technical Support

lynnroth
Posts: 39
Joined: Mon Aug 01, 2005 2:51 pm
Location: Wauseon, OH
Contact:

Re: Using NuGet to handle packages

Post by lynnroth » Thu Oct 13, 2011 9:52 am

Correct, using NuGet as a VS add-in.

When you install a new package it adds a new reference to the csproj file:

<Reference Include="Elmah">
<HintPath>..\..\packages\elmah.corelibrary.1.2\lib\Elmah.dll</HintPath>
</Reference>

It adds a directory at the solution level called "packages" and adds a subdirectory for each package.

Those files (packages and down) don't get added automatically.
Lynn Roth
Interactive Financial Solutions, Inc.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Using NuGet to handle packages

Post by Beth » Mon Oct 24, 2011 10:02 am

Another customer has a response from the makers of NuGet. Check out this thread here: http://support.sourcegear.com/viewtopic ... 48&t=17616.
Beth Kieler
SourceGear Technical Support

Post Reply