Comments: ** Comment from web user: olnrao **
Here is the NuGet Spec you could use:
===
<?xml version="1.0"?>
<package >
<metadata>
<id>MSBuild.ExtensionPack</id>
<version>4.0.6.0</version>
<authors>olnrao</authors>
<owners>olnrao</owners>
<licenseUrl>http://msbuildextensionpack.codeplex.com/license</licenseUrl>
<projectUrl>http://msbuildextensionpack.codeplex.com/</projectUrl>
<iconUrl>http://www.codeplex.com/favicon.ico</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<title>MSBuild Extension Pack (for MSBuild v4.0)</title>
<description>MSBuild Extension Pack (for MSBuild v4.0) (requires .NET FX v4.0)</description>
<releaseNotes>None</releaseNotes>
<copyright>Copyright 2012</copyright>
<tags>MSBuild Extension</tags>
<dependencies>
<dependency id="MsBuild" version="4.0" />
</dependencies>
</metadata>
<files>
<!-- Just grab everything in the directory -->
<file src="**\*" exclude="*.nuspec" />
</files>
</package
===
The command to run as part of your build (post build step) is:
NuGet.exe pack <AboveSpecFileFullPath>
Thanks,
Laxmi (olnrao)