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

Multiple assemblies with equivalent identity have been imported #152

Closed
ysmoradi opened this issue Apr 7, 2018 · 0 comments
Closed

Multiple assemblies with equivalent identity have been imported #152

ysmoradi opened this issue Apr 7, 2018 · 0 comments

Comments

@ysmoradi
Copy link

ysmoradi commented Apr 7, 2018

I'm not sure this repository is suitable for this issue or not. But let's start!

I've created multi target project for following targets:

<TargetFrameworks>MonoAndroid80;Xamarin.iOS10;netstandard2.0;netcoreapp2.0;</TargetFrameworks>

Everything works fine, but when I add your project, it says following:

Error	CS1703
Multiple assemblies with equivalent identity have been imported: 'C:\Users\ysmoradi\.nuget\packages\system.reflection.emit\4.3.0\ref\netstandard1.1\System.Reflection.Emit.dll' and 'E:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Facades\System.Reflection.Emit.dll'.
Remove one of the duplicate references.

It raises a build error for android target, but error is talking about Xamarin.iOS\v1.0\Facades\System.Reflection.Emit.dll !!!

What's your idea?

For now I'm using a version of System.Linq.Dynamic that it's nuspec is not saying anything about Sys.Ref.Emit.

It works fine at runtime.

@StefH StefH closed this as completed Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants