Error: Multiple assemblies with equivalent identity have been imported.
This is almost a duplicate of https://github.com/dotnet/core/issues/588. However, my issues surfaces on my local developer environment. I have VS 2015 and a simple web project that is targeting the .Net 4.6.2 framework.
When I add a dependency from Nuget for Microsoft.Extensions.DependencyInjection, which in turn has a dependency on System.Runtime.Extensions.dll and try to build the project, I get the following error.
Error CS1703 Multiple assemblies with equivalent identity have been imported: 'c:\users\mmuggli\documents\visual studio 2015\Projects\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. WebApplication3 c:\users\mmuggli\documents\visual studio 2015\Projects\WebApplication3\CSC 1 Active
I believe that my instance of Visual Studio 2015 is using the MSBuild Tools version 14.0
I had this too. The workaround from https://github.com/dotnet/sdk/issues/1539 worked for me.
I'm going to close this here and let it be tracked by dotnet/sdk#1539