title: Referencing Library in ASP.NET Core 1.0 (vNext)
body: <p>I am learning ASP.NET Core 1.0 (vNext). With that in mind, I have a solution that is structured like this:</p>
  
  <pre><code>MySolution
    src
      MyLibrary
        MyClass.cs
        project.json
      MyWebSite
        Startup.cs
        project.json
  </code></pre>
  
  <p>I am successfully compiling <code>MyLibrary</code> from the command-line using <code>dnu build</code>. I ran <code>dnu pack</code> which generated <code>MyLibrary.1.0.0.nupkg</code>. There are also two folders: <code>dnx451</code> and <code>dnxcore50</code> which both contain <code>MyLibrary.1.0.0.dll</code>. I want to use <code>MyLibrary</code> in <code>MyWebSite</code>, however, I'm confused.</p>
  
  <ol>
  <li>How do I "include" <code>MyLibrary</code> into <code>MyWebSite</code>? Do I manually copy over the <code>.dll</code> file? If so, which one? Should I use the <code>nupkg</code> file instead? This is a private assembly, I do not want to publish it globally via NuGet.</li>
  <li>What do I put in <code>MyWebSite/project.json</code> to reference the <code>MyLibrary</code> assembly?</li>
  </ol>