{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/6421","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/6421/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/6421/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/6421/events","html_url":"https://github.com/aspnet/Mvc/issues/6421","id":237422981,"number":6421,"title":"Move IActionContextAccessor to Microsoft.AspNetCore.Mvc.Abstractions","user":{"login":"bgever","id":1618765,"avatar_url":"https://avatars1.githubusercontent.com/u/1618765?v=4","gravatar_id":"","url":"https://api.github.com/users/bgever","html_url":"https://github.com/bgever","followers_url":"https://api.github.com/users/bgever/followers","following_url":"https://api.github.com/users/bgever/following{/other_user}","gists_url":"https://api.github.com/users/bgever/gists{/gist_id}","starred_url":"https://api.github.com/users/bgever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgever/subscriptions","organizations_url":"https://api.github.com/users/bgever/orgs","repos_url":"https://api.github.com/users/bgever/repos","events_url":"https://api.github.com/users/bgever/events{/privacy}","received_events_url":"https://api.github.com/users/bgever/received_events","type":"User","site_admin":false},"labels":[{"id":241710254,"url":"https://api.github.com/repos/aspnet/Mvc/labels/discussion","name":"discussion","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aspnet/Mvc/milestones/18","html_url":"https://github.com/aspnet/Mvc/milestone/18","labels_url":"https://api.github.com/repos/aspnet/Mvc/milestones/18/labels","id":1254581,"number":18,"title":"Discussions","description":"","creator":{"login":"Eilon","id":202643,"avatar_url":"https://avatars3.githubusercontent.com/u/202643?v=4","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":110,"state":"open","created_at":"2015-08-14T02:04:42Z","updated_at":"2018-05-12T02:33:52Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-06-21T05:58:22Z","updated_at":"2018-05-12T02:33:52Z","closed_at":"2018-05-12T02:33:52Z","author_association":"NONE","body":"I have problems referencing `IActionContextAccessor` from a .NET Standard 1.4 library.\r\nI depend on Standard 1.4, because the host app is targeting Framework 4.6.1.\r\n\r\nUnfortunately, [`IActionContextAccessor`](https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionContextAccessor.cs) is defined in package [Microsoft.AspNetCore.Mvc.Core 1.1.3](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Core/) which depends on .NET Standard 1.6.\r\n\r\nHowever, package [Microsoft.AspNetCore.Mvc.Abstractions 1.1.3](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Abstractions/) can target .NET Standard 1.3.\r\n\r\nSince the interface is clearly an abstraction and a fundamental part for dependency injection in libraries, Microsoft.AspNetCore.Mvc.Abstractions would be the more logical package to hold this interface and make references to.\r\n\r\nCurrently I've worked around this problem by changing the library in question to target Framework 4.6.1, since Microsoft.AspNetCore.Mvc.Core can (oddly?) target also Framework 4.5.1. However, I would like to deploy this app cross-platform therefore want to switch to Standard 1.4 instead."}}
{"actor":{"display_login":"pranavkm"}}