Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Duplicate Reference Makes Project Build Error?

$
0
0

Hi, my project reference Mono.Android.Support.v4 and works fine. When I addon the component ZXing.Net.Mobile to project, I can't build and got error message:


Error 9 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? filename: 'Xamarin.Android.Support.v4.dll' from Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) from Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)

from Xamarin.Android.Tasks.ResolveAssemblies.Execute() Test_Project

I think it might be the ZXing.Net.Mobile component reference the same one (Mono.Android.Support.v4) so I can't build, but I can't remove the reference from ZXing.Net.Mobile.

anyone can help me figure this out or experience for solving this situation? Thanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>