{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/856","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/856/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/856/events","html_url":"https://github.com/dotnet/standard/issues/856","id":352557344,"node_id":"MDU6SXNzdWUzNTI1NTczNDQ=","number":856,"title":"Assembly version mismatch","user":{"login":"gustavo-armenta","id":2651593,"node_id":"MDQ6VXNlcjI2NTE1OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2651593?v=4","gravatar_id":"","url":"https://api.github.com/users/gustavo-armenta","html_url":"https://github.com/gustavo-armenta","followers_url":"https://api.github.com/users/gustavo-armenta/followers","following_url":"https://api.github.com/users/gustavo-armenta/following{/other_user}","gists_url":"https://api.github.com/users/gustavo-armenta/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavo-armenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavo-armenta/subscriptions","organizations_url":"https://api.github.com/users/gustavo-armenta/orgs","repos_url":"https://api.github.com/users/gustavo-armenta/repos","events_url":"https://api.github.com/users/gustavo-armenta/events{/privacy}","received_events_url":"https://api.github.com/users/gustavo-armenta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-21T14:08:57Z","updated_at":"2018-08-21T18:17:42Z","closed_at":null,"author_association":"NONE","body":"Assemblies under \"Microsoft.NET.Build.Extensions\\net461\\lib\" should have the same version as assemblies under \".NETFramework\\v4.6.1\".\r\n\r\nOtherwise, a parent project referencing a netstandard2.0 library references assemblies under \"Microsoft.NET.Build.Extensions\\net461\\lib\" while a child project without references to netstandard2.0 references assemblies under \".NETFramework\\v4.6.1\"\r\n\r\nTested in Visual Studio Enterprise 2017 version 15.8.1\r\n\r\n```\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net461\\lib\\System.Net.Http.dll\r\nSystem.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\n\r\nC:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Net.Http.dll\r\nSystem.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/standard/issues/comments/414772101","html_url":"https://github.com/dotnet/standard/issues/856#issuecomment-414772101","issue_url":"https://api.github.com/repos/dotnet/standard/issues/856","id":414772101,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDc3MjEwMQ==","user":{"login":"joperezr","id":13854455,"node_id":"MDQ6VXNlcjEzODU0NDU1","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},"created_at":"2018-08-21T18:17:42Z","updated_at":"2018-08-21T18:17:42Z","author_association":"MEMBER","body":"I see, I think I might know what is going on in your scenario. Can you try setting the following property inside your UnitTestProject to see if it fixes the issue:\r\n```xml\r\n<PropertyGroup>\r\n  <DependsOnNETStandard>true</DependsOnNETStandard>\r\n</PropertyGroup>\r\n```"}}
{"actor":{"display_login":"joperezr"}}