Updating library package references prior to a build ?

Apr 10, 2011 at 7:10 PM
Edited Apr 10, 2011 at 7:11 PM

Hi guys,


I've been recently having some fun with TeamCity, NuGet & Dropox (dropbox.com) .

Long story short , I've had TeamCity generate versioned NuGet packages as artifacts, which are in turn deployed (by TeamCity) to a Dropbox folder.

Those packages contain some dependencies which I'm hoping to re-use later on.


My question is : Is it possible to automatically update all referenced packages prior to a build ? Either as a pre-build event or as a MSBuild command ?

Let's assume that all of my machines that are in any way related to this have a local NuGet feed at C:\Dropbox.

Best regads,