Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Mismatched .Net Versions for referenced libraries

$
0
0

Hello,

I am attempting to do some image manipulation using EmguCV but I am running into a frustrating problem. When I try to build the iOS app, I get the following error:
"Error CS0012: The type System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. Consider adding a reference to assemblySystem.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' (CS0012)"

So, I'm assuming the problem lies with a mismatch in .NET versions used to build these libraries? EmguCV was built on my Mac using whatever framework is installed, I think 4.6. The System.Xml version referenced is 2.0*. Some searching brought me to posts saying that I should just add the references to System.Xml.Serialization and it would fix itself... no go. I get the same error.

I am really at a loss as to what to do, so any help is appreciated!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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