{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/1114","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/1114/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/1114/events","html_url":"https://github.com/dotnet/standard/issues/1114","id":426800191,"node_id":"MDU6SXNzdWU0MjY4MDAxOTE=","number":1114,"title":"Multiple assemblies with equivalent identity have been imported","user":{"login":"CalvinFengDatacom","id":26469662,"node_id":"MDQ6VXNlcjI2NDY5NjYy","avatar_url":"https://avatars0.githubusercontent.com/u/26469662?v=4","gravatar_id":"","url":"https://api.github.com/users/CalvinFengDatacom","html_url":"https://github.com/CalvinFengDatacom","followers_url":"https://api.github.com/users/CalvinFengDatacom/followers","following_url":"https://api.github.com/users/CalvinFengDatacom/following{/other_user}","gists_url":"https://api.github.com/users/CalvinFengDatacom/gists{/gist_id}","starred_url":"https://api.github.com/users/CalvinFengDatacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalvinFengDatacom/subscriptions","organizations_url":"https://api.github.com/users/CalvinFengDatacom/orgs","repos_url":"https://api.github.com/users/CalvinFengDatacom/repos","events_url":"https://api.github.com/users/CalvinFengDatacom/events{/privacy}","received_events_url":"https://api.github.com/users/CalvinFengDatacom/received_events","type":"User","site_admin":false},"labels":[{"id":1095074881,"node_id":"MDU6TGFiZWwxMDk1MDc0ODgx","url":"https://api.github.com/repos/dotnet/standard/labels/netfx-compat","name":"netfx-compat","color":"d12623","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/standard/milestones/3","html_url":"https://github.com/dotnet/standard/milestone/3","labels_url":"https://api.github.com/repos/dotnet/standard/milestones/3/labels","id":3400718,"node_id":"MDk6TWlsZXN0b25lMzQwMDcxOA==","number":3,"title":".NET Standard 2.1","description":"This captures the [.NET Standard 2.1](https://github.com/dotnet/standard/blob/master/docs/planning/netstandard-2.1/README.md).","creator":{"login":"terrajobst","id":5169960,"node_id":"MDQ6VXNlcjUxNjk5NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/5169960?v=4","gravatar_id":"","url":"https://api.github.com/users/terrajobst","html_url":"https://github.com/terrajobst","followers_url":"https://api.github.com/users/terrajobst/followers","following_url":"https://api.github.com/users/terrajobst/following{/other_user}","gists_url":"https://api.github.com/users/terrajobst/gists{/gist_id}","starred_url":"https://api.github.com/users/terrajobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrajobst/subscriptions","organizations_url":"https://api.github.com/users/terrajobst/orgs","repos_url":"https://api.github.com/users/terrajobst/repos","events_url":"https://api.github.com/users/terrajobst/events{/privacy}","received_events_url":"https://api.github.com/users/terrajobst/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":99,"state":"open","created_at":"2018-06-05T02:12:04Z","updated_at":"2019-03-29T17:40:56Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2019-03-29T03:29:38Z","updated_at":"2019-03-29T18:50:13Z","closed_at":null,"author_association":"NONE","body":"Hi Guys,\r\n\r\nI have a wired issue with my .Net project after I push my changes to remote repository in DevOps.\r\n\r\nThe situation is, we have a .Net project was in .Net framework in version 4.6, then because of other dependencies, we need to upgrade the .Net framework to 4.6.2. It built successfully locally, but it built failed in the build pipeline of DevOps.\r\n\r\nThe error message is: \r\n\r\n- CSC(0,0): Error CS1703: Multiple assemblies with equivalent identity have been imported: 'D:\\a\\1\\s\\DNZ.Mocabots.AIA\\packages\\System.Runtime.Serialization.Primitives.4.1.1\\lib\\net46\\System.Runtime.Serialization.Primitives.dll' and 'C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.Serialization.Primitives.dll'. Remove one of the duplicate references.\r\n- CSC(0,0): Error CS1703: Multiple assemblies with equivalent identity have been imported: 'D:\\a\\1\\s\\DNZ.Mocabots.AIA\\packages\\System.Runtime.InteropServices.4.1.0\\lib\\net462\\System.Runtime.InteropServices.dll' and 'C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.InteropServices.dll'. Remove one of the duplicate references.\r\n- CSC(0,0): Error CS1703: Multiple assemblies with equivalent identity have been imported: 'D:\\a\\1\\s\\DNZ.Mocabots.AIA\\packages\\System.Runtime.Extensions.4.1.0\\lib\\net462\\System.Runtime.Extensions.dll' and 'C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.Extensions.dll'. Remove one of the duplicate references.\r\n- CSC(0,0): Error CS1703: Multiple assemblies with equivalent identity have been imported: 'D:\\a\\1\\s\\DNZ.Mocabots.AIA\\packages\\System.Runtime.4.1.0\\lib\\net462\\System.Runtime.dll' and 'C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.dll'. Remove one of the duplicate references.\r\n- CSC(0,0): Error CS1703: Multiple assemblies with equivalent identity have been imported: 'D:\\a\\1\\s\\DNZ.Mocabots.AIA\\packages\\System.IO.4.1.0\\lib\\net462\\System.IO.dll' and 'C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.IO.dll'. Remove one of the duplicate references.\r\n- Process 'msbuild.exe' exited with code '1'.\r\n\r\nI can see there are lots of suggestions of removing one of the conflict file manually, however it doesn't work for me. \r\n\r\n_**Note again, we are using .Net Standard F/W, not .Net Core.**\r\nIt was in 4.6 and now it's in 4.6.2._\r\n\r\nLooking forward from your ideas, thanks"},"comment":{"url":"https://api.github.com/repos/dotnet/standard/issues/comments/478110248","html_url":"https://github.com/dotnet/standard/issues/1114#issuecomment-478110248","issue_url":"https://api.github.com/repos/dotnet/standard/issues/1114","id":478110248,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3ODExMDI0OA==","user":{"login":"ericstj","id":8918108,"node_id":"MDQ6VXNlcjg5MTgxMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/8918108?v=4","gravatar_id":"","url":"https://api.github.com/users/ericstj","html_url":"https://github.com/ericstj","followers_url":"https://api.github.com/users/ericstj/followers","following_url":"https://api.github.com/users/ericstj/following{/other_user}","gists_url":"https://api.github.com/users/ericstj/gists{/gist_id}","starred_url":"https://api.github.com/users/ericstj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericstj/subscriptions","organizations_url":"https://api.github.com/users/ericstj/orgs","repos_url":"https://api.github.com/users/ericstj/repos","events_url":"https://api.github.com/users/ericstj/events{/privacy}","received_events_url":"https://api.github.com/users/ericstj/received_events","type":"User","site_admin":false},"created_at":"2019-03-29T18:50:13Z","updated_at":"2019-03-29T18:50:13Z","author_association":"MEMBER","body":"Conflict resolution doesn't solve this since the conflict is happening between the nuget packages and targeting pack facades.  The targeting pack facades are added **after** reference resolution (and conflict resolution).\r\n\r\nThis means you're missing this fix: https://github.com/Microsoft/msbuild/commit/40cd4d090dfebddd5417bc4e976feebc081a02ed\r\n\r\nMSBuild issue: https://github.com/Microsoft/msbuild/issues/1345\r\n\r\nI believe this shipped in an update to VS 2017, not sure which version.  @dsplaisted or @rainersigwald might know.\r\n\r\n"}}
{"actor":{"display_login":"ericstj"}}