Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Multiple assemblies with equivalent identity have been imported. #1247

Closed
mikemuggli opened this issue Feb 1, 2018 · 2 comments
Closed

Comments

@mikemuggli
Copy link

This is almost a duplicate of #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

@jaundice
Copy link

jaundice commented Mar 7, 2018

I had this too. The workaround from dotnet/sdk#1539 worked for me.

@Petermarcu
Copy link
Member

I'm going to close this here and let it be tracked by dotnet/sdk#1539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants