Nuget package not adding reference on custom package <p>I created a nuspec file:</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"&gt; &lt;metadata&gt; &lt;id&gt;MyPackage.dll&lt;/id&gt; &lt;version&gt;3.5&lt;/version&gt; &lt;authors&gt;Me&lt;/authors&gt; &lt;owners&gt;Me&lt;/owners&gt; &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt; &lt;description&gt;The description&lt;/description&gt; &lt;tags&gt;tag1&lt;/tags&gt; &lt;/metadata&gt; &lt;/package&gt; </code></pre> <p>In a directory with the file strucutre</p> <blockquote> <ul> <li>MyPackage <ul> <li>Assemblies <ul> <li>MyPackage.dll</li> </ul></li> <li>MyPackage.nuspec</li> </ul></li> </ul> </blockquote> <p>I created my package using <code>nuget.exe pack myPackage.nuspec</code> and placed it in my local sources. I can find and install it from visual studio at which point </p> <ul> <li>The dll is copied into the packages directory</li> <li>But the reference is not added to the project</li> <li>No repositories.config is created</li> <li>No packages.config is created</li> </ul> <p>What am I missing?</p>