I have an automated build process that I\'d like to extend so I can build the libraries I am distributing via NuGet. Currently, running nuget.exe to create the packages is
Install the 'NuGet.for.MSBuild' nuget package. No '.nuspec' file is required and the required information will be taken from the AssemblyInfo.cs.
Set the build to 'Release' mode. Once built the nupkg file will be in the 'bin/Release' folder.
https://nuget4msbuild.codeplex.com/