Simple Nuget

Bored by the thousands of way to build nuget packages automatically under VS2010... I started my quest too.
And after creating my own php implementation of nuget server, i was finally able to find a -simple- way to solve everything without external tools or messing around with weird packages.

I concluded with the following steps:

mkdir  "$(SolutionDir)NugetPackages"
$(SolutionDir).nuget\nuget pack "$(ProjectPath)" -OutputDirectory "$(SolutionDir)NugetPackages" 
 -Prop "Configuration=$(ConfigurationName);Platform=$(PlatformName)"
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
  <metadata>
    &lt;id>$id$</id>
    &lt;version>$version$</version>
    &lt;title />
    &lt;authors>$author$</authors>
    &lt;owners>$author$</owners>
    &lt;requireLicenseAcceptance>false</requireLicenseAcceptance>
    &lt;description>$description$</description>
    &lt;dependencies>
      &lt;group targetFramework=".NETFramework4.0">
        &lt;dependency id="ZakCoreUtilsInterfaces" version="$version$" />
        &lt;dependency id="ZakCoreUtils" version="$version$" />
      &lt;/group>
    &lt;/dependencies>
  &lt;/metadata>
  &lt;files>
    &lt;file src="bin\$configuration$\ExtDll.dll" target="lib\net40\ExtDll.dll" />
  &lt;/files>
&lt;/package>
nuget push foo.nupkg 4003d786-cc37-4004-bfdf-c4f3e8ef9b3a -s http://customsource/

Happy Nugetting!