{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/28833","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/28833/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/28833/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/28833/events","html_url":"https://github.com/dotnet/corefx/issues/28833","id":311432911,"number":28833,"title":"Problems with ASP.NET projects when consuming .NET Standard assets","user":{"login":"joperezr","id":13854455,"avatar_url":"https://avatars3.githubusercontent.com/u/13854455?v=4","gravatar_id":"","url":"https://api.github.com/users/joperezr","html_url":"https://github.com/joperezr","followers_url":"https://api.github.com/users/joperezr/followers","following_url":"https://api.github.com/users/joperezr/following{/other_user}","gists_url":"https://api.github.com/users/joperezr/gists{/gist_id}","starred_url":"https://api.github.com/users/joperezr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joperezr/subscriptions","organizations_url":"https://api.github.com/users/joperezr/orgs","repos_url":"https://api.github.com/users/joperezr/repos","events_url":"https://api.github.com/users/joperezr/events{/privacy}","received_events_url":"https://api.github.com/users/joperezr/received_events","type":"User","site_admin":false},"labels":[{"id":174888041,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-Infrastructure","name":"area-Infrastructure","color":"d4c5f9","default":false},{"id":145399955,"url":"https://api.github.com/repos/dotnet/corefx/labels/bug","name":"bug","color":"207de5","default":true},{"id":384017956,"url":"https://api.github.com/repos/dotnet/corefx/labels/tracking-external-issue","name":"tracking-external-issue","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/5","html_url":"https://github.com/dotnet/corefx/milestone/5","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/5/labels","id":1328080,"number":5,"title":"Future","description":"Milestone tracking issues not triaged to a planned release. Work in this milestone may happen, or may not: it is not committed.","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars1.githubusercontent.com/u/1302850?v=4","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":2048,"closed_issues":99,"state":"open","created_at":"2015-09-29T00:25:45Z","updated_at":"2018-05-01T18:49:08Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-04-05T00:13:56Z","updated_at":"2018-05-02T12:51:56Z","closed_at":null,"author_association":"MEMBER","body":"It has been reported by users that if you are building an ASP.NET web app which consumes an asset that is .NET Standard-based, the app may encounter errors at runtime given that it can't find assemblies. This is an example of the errors one might get when hitting this issue:\r\n```\r\nSystem.IO.FileNotFoundException occurred HResult=0x80070002\r\nMessage=Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n```\r\n\r\nOne other symptom of this is that your project will complain that it needs some binding redirects added to your web.config, which you will have to add by double-clicking the warning from the error list in VS.\r\n\r\nThe reason behind what is happening is that because of [this known issue](https://github.com/Microsoft/dotnet/blob/master/releases/net471/KnownIssues/514195-Targeting%20.NET%20Framework%204.7.1%20copies%20extra%20files%20to%20your%20bin%20directory.md) we end up requiring a few extra assemblies to be loaded in order to be able to run a .NET Standard-based component on .NET Framework. Because of how ASP.NET handles deployments, in some scenarios these extra files won't be copied over to the application directory, causing most of the issues.\r\n\r\nThis issue is created so that we can track the problem separate from issue #25773 as it was dicussed on this comment: https://github.com/dotnet/corefx/issues/25773#issuecomment-378341475\r\n\r\ncc: @AlexGhiondea "},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/385966922","html_url":"https://github.com/dotnet/corefx/issues/28833#issuecomment-385966922","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/28833","id":385966922,"user":{"login":"mscrivo","id":275524,"avatar_url":"https://avatars3.githubusercontent.com/u/275524?v=4","gravatar_id":"","url":"https://api.github.com/users/mscrivo","html_url":"https://github.com/mscrivo","followers_url":"https://api.github.com/users/mscrivo/followers","following_url":"https://api.github.com/users/mscrivo/following{/other_user}","gists_url":"https://api.github.com/users/mscrivo/gists{/gist_id}","starred_url":"https://api.github.com/users/mscrivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscrivo/subscriptions","organizations_url":"https://api.github.com/users/mscrivo/orgs","repos_url":"https://api.github.com/users/mscrivo/repos","events_url":"https://api.github.com/users/mscrivo/events{/privacy}","received_events_url":"https://api.github.com/users/mscrivo/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T12:51:56Z","updated_at":"2018-05-02T12:51:56Z","author_association":"NONE","body":"@joperezr FYI, the issue seems to be fixed when targeting the recently released .NET 4.7.2"}}
{"actor":{"display_login":"mscrivo"}}