{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/15031","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/15031/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/15031/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/15031/events","html_url":"https://github.com/dotnet/corefx/issues/15031","id":199838690,"number":15031,"title":"System.IO.FileLoadException in System.Net.Http 4.1.1 (NuGet package 4.3.0) on System.Diagnostics.DiagnosticSource 4.0.1 (NuGet package 4.3.0) ","user":{"login":"baal2000","id":22180333,"avatar_url":"https://avatars.githubusercontent.com/u/22180333?v=3","gravatar_id":"","url":"https://api.github.com/users/baal2000","html_url":"https://github.com/baal2000","followers_url":"https://api.github.com/users/baal2000/followers","following_url":"https://api.github.com/users/baal2000/following{/other_user}","gists_url":"https://api.github.com/users/baal2000/gists{/gist_id}","starred_url":"https://api.github.com/users/baal2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baal2000/subscriptions","organizations_url":"https://api.github.com/users/baal2000/orgs","repos_url":"https://api.github.com/users/baal2000/repos","events_url":"https://api.github.com/users/baal2000/events{/privacy}","received_events_url":"https://api.github.com/users/baal2000/received_events","type":"User","site_admin":false},"labels":[{"id":497898703,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Net.Http","name":"area-System.Net.Http","color":"d4c5f9","default":false},{"id":145399955,"url":"https://api.github.com/repos/dotnet/corefx/labels/bug","name":"bug","color":"207de5","default":true}],"state":"open","locked":false,"assignee":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestone/4","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"2.0.0","description":".NET Core 2.0 Placeholder (next major release)\r\nhttps://github.com/dotnet/core/blob/master/roadmap.md\r\n\r\nNote: Previously known as 1.2.","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","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":368,"closed_issues":3616,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2017-01-11T01:22:11Z","due_on":"2017-04-30T07:00:00Z","closed_at":null},"comments":8,"created_at":"2017-01-10T14:40:52Z","updated_at":"2017-01-11T01:26:47Z","closed_at":null,"body":"System.IO.FileLoadException at System.Net.Http.WinHttpHandler.SendAsync(): \r\nCould not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n\r\nOur research has shown that:\r\n* System.Net.Http v 4.3.0 package depends on System.Diagnostics.DiagnosticSource v 4.3.0.\r\n* NuGet package of System.Net.Http v 4.3.0 in fact contains System.Net.Http.dll v 4.1.1 (as of Jan 8 2017). Why? There is NuGet package System.Net.Http v 4.1.1 for that\r\n* System.Net.Http ver 4.1.1.0 references System.Diagnostics.DiagnosticSource v. 4.0.0\r\n* NuGet package of System.Diagnostics.DiagnosticSource v 4.3.0 in fact contains System.Diagnostics.DiagnosticSource v 4.0.1 (as of Jan 8 2017).\r\n* Strongly named assembly System.Diagnostics.DiagnosticSource version mismatch ( v 4.0.1 v.s. v 4.0.0) causes System.IO.FileLoadException in System.Net.Http 4.1.1.\r\n* The binding redirect to System.Diagnostics.DiagnosticSource v 4.0.0 to v 4.0.1 is not automatically generated under our scenario. Even if it was, would that address every build scenario, for example a shared library project later referenced from a 3-rd party project? \r\n\r\nThis ticket can also be answered at http://stackoverflow.com/questions/41550563\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/271751416","html_url":"https://github.com/dotnet/corefx/issues/15031#issuecomment-271751416","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/15031","id":271751416,"user":{"login":"baal2000","id":22180333,"avatar_url":"https://avatars.githubusercontent.com/u/22180333?v=3","gravatar_id":"","url":"https://api.github.com/users/baal2000","html_url":"https://github.com/baal2000","followers_url":"https://api.github.com/users/baal2000/followers","following_url":"https://api.github.com/users/baal2000/following{/other_user}","gists_url":"https://api.github.com/users/baal2000/gists{/gist_id}","starred_url":"https://api.github.com/users/baal2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baal2000/subscriptions","organizations_url":"https://api.github.com/users/baal2000/orgs","repos_url":"https://api.github.com/users/baal2000/repos","events_url":"https://api.github.com/users/baal2000/events{/privacy}","received_events_url":"https://api.github.com/users/baal2000/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T01:26:47Z","updated_at":"2017-01-11T01:26:47Z","body":"Sure may close System.Net.Http case then"}}
{"actor":{"display_login":"baal2000"}}