title: Issue with reference class library to project
body: <p>I have ASP.NET Core RC2 application which was migrated from RC1.</p>
  
  <p>I had reference to class library (.net framework 4.5) and I want to add it to my RC2 application.
  So I changed project.json like this</p>
  
  <pre><code>{
  "version": "1.0.0-*",
  "buildOptions": {
      "emitEntryPoint": true
  },
  "frameworks": {
      "net45": {
              "dependencies": {
                  "ExtConfig.PortalRepository": "1.0.0-*"
              }
      },
      "netcoreapp1.0": {
          "imports": [
              "dotnet5.6",
              "dnxcore50",
              "portable-net45+win8"
          ],
          "dependencies": {
              "Microsoft.NETCore.App": {
                  "version": "1.0.0-rc2-3002702",
                  "type": "platform"
              },
              "Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
              "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
              "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
              "Microsoft.AspNetCore.Server.WebListener": "0.1.0-rc2-final",
              "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
              "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0-rc2-final",
              "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
              "Microsoft.AspNet.Routing": "1.0.0-rc1-final",
              "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final"
          }
      }
  
  },
  "commands": {
      "web": "Microsoft.AspNetCore.Server.Kestrel"
  },
  "publishOptions": {
      "include": [
          "Views",
          "appsettings.json",
          "web.config"
      ]
  }
  }
  </code></pre>
  
  <p>And it is built ok, but for RC2 application it is not visible.
  I have advice from ReSharper, but it doesn't work.
  <a href="https://i.stack.imgur.com/CCJUS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CCJUS.png" alt="enter image description here"></a></p>
  
  <p>I tried to change net45 to diffirent dnx and netstandard statements, but it didn't help too. And I created nuget package from class library and tried to add it like nuget package and it didn't work.</p>
  
  <p>Anyone else ran into this issue?</p>