{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/287","labels_url":"https://api.github.com/repos/aspnet/Home/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/287/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/287/events","html_url":"https://github.com/aspnet/Home/issues/287","id":55108051,"number":287,"title":"Interface resolution issue when using wrapped project with ASP.NET 5 target framework","user":{"login":"bojanrajkovic","id":110747,"avatar_url":"https://avatars.githubusercontent.com/u/110747?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanrajkovic","html_url":"https://github.com/bojanrajkovic","followers_url":"https://api.github.com/users/bojanrajkovic/followers","following_url":"https://api.github.com/users/bojanrajkovic/following{/other_user}","gists_url":"https://api.github.com/users/bojanrajkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanrajkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanrajkovic/subscriptions","organizations_url":"https://api.github.com/users/bojanrajkovic/orgs","repos_url":"https://api.github.com/users/bojanrajkovic/repos","events_url":"https://api.github.com/users/bojanrajkovic/events{/privacy}","received_events_url":"https://api.github.com/users/bojanrajkovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-22T02:48:14Z","updated_at":"2015-01-22T03:58:51Z","closed_at":null,"body":"I have an old-style project that's being referenced through a wrapper by an ASP.NET 5 project. When the ASP.NET 5 project is using the `aspnet50` framework, this causes the following compiler error when using CTP 5 or KRE beta 2:\r\n\r\n```\r\nProgram.cs(13,30): error CS7069: Reference to type 'ILoggerFactory' claims it is defined in 'Microsoft.Framework.Logging.Interfaces', but it could not be found\r\n```\r\n\r\nWhen using KRE beta 3 (10921), a different error is produced:\r\n\r\n```\r\nProgram.cs(9,25): error CS0246: The type or namespace name 'ILoggerFactory' could not be found (are you missing a using directive or an assembly reference?)\r\n\r\nProgram.cs(12,13): error CS0012: The type 'ILoggerFactory' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Framework.Logging.ILoggerFactory, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.\r\n\r\nProgram.cs(13,30): error CS7069: Reference to type 'ILoggerFactory' claims it is defined in 'Microsoft.Framework.Logging.Interfaces', but it could not be found\r\n```\r\n\r\nSwitching the target framework of the ASP.NET 5 project to `net45` resolved the compiler error, but prevents references to ASP.NET MVC 6, etc.. Switching all of the NuGet package versions to -beta3-10752 and using the beta3 KRE also doesn't work, with the same error as the all beta2 setup:\r\n\r\n```\r\nProgram.cs(13,30): error CS7069: Reference to type 'ILoggerFactory' claims it is defined in 'Microsoft.Framework.Logging.Interfaces', but it could not be found\r\n```\r\n\r\nThe reproduction solution is in https://dl.dropboxusercontent.com/u/66703527/BrokenLoggerReproTest.zip and should fail to build with one of the above errors depending on the versions in use."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/70968171","html_url":"https://github.com/aspnet/Home/issues/287#issuecomment-70968171","issue_url":"https://api.github.com/repos/aspnet/Home/issues/287","id":70968171,"user":{"login":"bojanrajkovic","id":110747,"avatar_url":"https://avatars.githubusercontent.com/u/110747?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanrajkovic","html_url":"https://github.com/bojanrajkovic","followers_url":"https://api.github.com/users/bojanrajkovic/followers","following_url":"https://api.github.com/users/bojanrajkovic/following{/other_user}","gists_url":"https://api.github.com/users/bojanrajkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanrajkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanrajkovic/subscriptions","organizations_url":"https://api.github.com/users/bojanrajkovic/orgs","repos_url":"https://api.github.com/users/bojanrajkovic/repos","events_url":"https://api.github.com/users/bojanrajkovic/events{/privacy}","received_events_url":"https://api.github.com/users/bojanrajkovic/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T03:58:51Z","updated_at":"2015-01-22T03:58:51Z","body":"I did that, still broken. See the 3rd block -- I set all the versions to beta3 and still got that CS7069. I can re-create it again with more screenshots and update the repro to beta3 if you want."}}