{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/141","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/141/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/141/events","html_url":"https://github.com/dotnet/standard/issues/141","id":198231239,"number":141,"title":"Targeting .NET Core 1.0 and 1.1 (and future) with .NET Standard","user":{"login":"adamhathcock","id":527620,"avatar_url":"https://avatars.githubusercontent.com/u/527620?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhathcock","html_url":"https://github.com/adamhathcock","followers_url":"https://api.github.com/users/adamhathcock/followers","following_url":"https://api.github.com/users/adamhathcock/following{/other_user}","gists_url":"https://api.github.com/users/adamhathcock/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhathcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhathcock/subscriptions","organizations_url":"https://api.github.com/users/adamhathcock/orgs","repos_url":"https://api.github.com/users/adamhathcock/repos","events_url":"https://api.github.com/users/adamhathcock/events{/privacy}","received_events_url":"https://api.github.com/users/adamhathcock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-31T12:50:57Z","updated_at":"2017-01-01T01:24:21Z","closed_at":null,"body":"With 1.0 and 1.1 the system libraries got updated (just call them 4.1 and 4.3 generally) and the 4.1 libraries reference 1.0 specific bits while the 4.3 reference 1.1 specific bits.\r\n\r\nWith other platforms (Xamarin, Full Framework, etc.) this isn't a problem.  However, it looks like .NET Standard has a problem with this: https://www.nuget.org/packages/System.Runtime/\r\n\r\nMaybe I'm missing something.\r\n\r\nThis is out of a desire to target `netcoreapp1.0` specifically while still also targeting a net standard on a library as well."},"comment":{"url":"https://api.github.com/repos/dotnet/standard/issues/comments/269888645","html_url":"https://github.com/dotnet/standard/issues/141#issuecomment-269888645","issue_url":"https://api.github.com/repos/dotnet/standard/issues/141","id":269888645,"user":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars.githubusercontent.com/u/8228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T01:24:21Z","updated_at":"2017-01-01T01:24:21Z","body":"Yes, .NET Standard is just an API set. .NET Core is an implementation of that API set. .NET Core's implementation and .NET Standard were too coupled in the first releases of .NET Core and .NET Standard. In the .NET Core 2.0 timeframe, those two things will be divorced. You can compile a library against the .NET Standard API set you need and then you will be able to load that library on any .NET Platform that implements that version of the Standard.\r\n\r\nSo for your case, if your app has to be `netcoreapp1.0` then you will be able to load a library that targets `netstandard1.6` or lower. If you reference a library that targets a newer version of .NET Standard (2.0) or a newer version of netcoreapp (1.1) then you won't be able to load that into an app that targets netcoreapp1.0.\r\n\r\nWith the preview tooling, that may not be the friendliest error message. I'm not sure if that's what you are hitting?"}}
{"actor":{"display_login":"Petermarcu"}}