Nuget msbuild task deleted?

Jan 25, 2012 at 12:03 AM
Edited Jan 25, 2012 at 1:29 AM

Is there an official alternative to the msbuild task that used to exist? or was this functionality superseded by another project (nugetter)? did it get moved?



Jan 25, 2012 at 2:35 AM

The MsBuild task was being poorly maintained and in a lot of cases it was simply trying to play catch up with changes we made to nuget.exe. We support building and pulling packages via a VS context menu now (Restore packages). Were there specific features of the msbuild task that you are missing?

Jan 25, 2012 at 12:15 PM

I was just trying to setup my nightly build to generate the nuget package and it looked reasonable to just use the out of the box functionality provided by the nuget project, in the form of a nuget msbuild task.

I will look into nugetter I guess...

Jan 25, 2012 at 2:12 PM

If you Enable Package Restore (NuGet 1.6+) or install the NuGet.Powertools package, it adds a flag named BuildPackages that you can do to achieve this.