{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/45","repository_url":"https://api.github.com/repos/aspnet/Tooling","labels_url":"https://api.github.com/repos/aspnet/Tooling/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Tooling/issues/45/comments","events_url":"https://api.github.com/repos/aspnet/Tooling/issues/45/events","html_url":"https://github.com/aspnet/Tooling/issues/45","id":72656461,"number":45,"title":"Add Reference to .NET 4.5.1 class library project from ASP.NET 5 web app not working ","user":{"login":"johnciliberti","id":8013241,"avatar_url":"https://avatars.githubusercontent.com/u/8013241?v=3","gravatar_id":"","url":"https://api.github.com/users/johnciliberti","html_url":"https://github.com/johnciliberti","followers_url":"https://api.github.com/users/johnciliberti/followers","following_url":"https://api.github.com/users/johnciliberti/following{/other_user}","gists_url":"https://api.github.com/users/johnciliberti/gists{/gist_id}","starred_url":"https://api.github.com/users/johnciliberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnciliberti/subscriptions","organizations_url":"https://api.github.com/users/johnciliberti/orgs","repos_url":"https://api.github.com/users/johnciliberti/repos","events_url":"https://api.github.com/users/johnciliberti/events{/privacy}","received_events_url":"https://api.github.com/users/johnciliberti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":49,"created_at":"2015-05-02T14:50:35Z","updated_at":"2016-05-15T16:08:46Z","closed_at":"2015-11-09T21:32:53Z","body":"I am running the RC of Visual Studio Enterprise on a Windows Server 2012 R2 Virtual Machine. Folder that solution is added to is part of a git repo.\r\nSteps to reproduce:\r\n1. Create new Web Application Project with ASP.NET 5 Starter Web Template\r\n2. Add an existing .NET 4.5.1 class library project to the solution. Project includes a reference to EF 6.1.3\r\n3. Add the class library project as a reference in the web application project.\r\n\r\nResults:\r\n1. A reference is  added to the project.json file in the web project\r\n\"frameworks\": {\r\n        \"dnx451\": {\r\n            \"dependencies\": {\r\n                \"Recipe05.Dal\": \"1.0.0-*\"\r\n            }\r\n        }\r\n2. In the class library project a wrap directory is created with the folders:\r\n - EntityFramework\r\n- EntityFramework.SqlServer\r\n- Recipe05.Dal\r\neach folder has it's own project.json file with a bin configuration\r\n\"bin\": {\r\n        \"assembly\": \"../../obj/{configuration}/Recipe05.Dal.dll\",\r\n        \"pdb\": \"../../obj/{configuration}/Recipe05.Dal.pdb\"\r\n      }\r\n3. In the web project package restore fails with the following error:\r\nError\t\tNuGet Package Restore failed for one or more packages. See details in the Output window.\r\nRestoring packages for C:\\MVC6Recipes\\MVC6Recipes\\Chapter06\\Recipe05\\src\\Recipe05.Dal\\wrap\\Recipe05.Dal\\project.json\r\n  GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Recipe05.Dal'.\r\n  OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Recipe05.Dal' 1081ms\r\nUnable to locate Recipe05.Dal >= 1.0.0\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/comments/219294583","html_url":"https://github.com/aspnet/Tooling/issues/45#issuecomment-219294583","issue_url":"https://api.github.com/repos/aspnet/Tooling/issues/45","id":219294583,"user":{"login":"GuardRex","id":1622880,"avatar_url":"https://avatars.githubusercontent.com/u/1622880?v=3","gravatar_id":"","url":"https://api.github.com/users/GuardRex","html_url":"https://github.com/GuardRex","followers_url":"https://api.github.com/users/GuardRex/followers","following_url":"https://api.github.com/users/GuardRex/following{/other_user}","gists_url":"https://api.github.com/users/GuardRex/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardRex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardRex/subscriptions","organizations_url":"https://api.github.com/users/GuardRex/orgs","repos_url":"https://api.github.com/users/GuardRex/repos","events_url":"https://api.github.com/users/GuardRex/events{/privacy}","received_events_url":"https://api.github.com/users/GuardRex/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T16:08:46Z","updated_at":"2016-05-15T16:08:46Z","body":"@AloeDream Sorry ... they made the design decision, so it will be happening after RTM. We'll just have to get used to it (unfortunately)."}}