I get the following error while referencing the iTextSharp dll
C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(2,2):
Error: Exception while loading assemblies:
System.IO.FileNotFoundException: Could not load assembly
‘System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a’. Perhaps it doesn’t exist in the Mono
for Android profile?File name: ‘System.Drawing.dll’
at Monodroid.Tuner.MonoDroidResolver.Resolve(AssemblyNameReference
reference, ReaderParameters parameters)at
Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1
assemblies, AssemblyDefinition assembly)at Xamarin.Android.Tasks.ResolveAssemblies.Execute() (Dashmate)
Also I tried to add System.Drawing.dll , but it still did not resolve the
error.
Guess the System.Drawing within the Mono.Android.dll is conflicting with the
System.Drawing.dll which is being referenced by the iTextSharp
I got this reply from the Development team of Xamarin
So, I guess that we could not use Third Party dll’s which has the “System.Drawing” Class 🙁