Hello there,

I am constantly running into these issues, where MANDROID is trying to
load assemblies, which it then cannot find. At first it was
System.Windows, which afaik is not in Mono. I removed all those
references and hoped everything would be fine, but now I get errors
about it not being able to find System.Xml.Serialization, which SHOULD
be in Mono.

I am sharing files from another project I have for WP7 and linking the
files from that project to this one. The project is very big so it is
very hard to find out where the problems lie. Mandroid does not seem
to tell you which file requests that some assembly is needed to be
loaded which would help A LOT when trying to find out what is wrong.

This:

MANDROID : error : while loading assemblies:
System.IO.FileNotFoundException: Could not load assembly
'System.Xml.Serialization, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'. Perhaps it doesn't exist in the Mono
for Android profile?
[C:\ENM\Dev\WebClient\src\prod\PubWeb\NSPublic.AndroidClient2\NSPublic.AndroidClient.csproj]
  File name: 'System.Xml.Serialization.dll'
    at Monodroid.Tuner.MonoDroidResolver.Resolve
(Mono.Cecil.AssemblyNameReference reference) [0x00000] in <filename
unknown>:0
    at Monodroid.Scanner.ComputeListOfAssemblies (Monodroid.Arguments
args, System.Collections.Generic.HashSet`1 assemblies,
Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename
unknown>:0
    at Monodroid.Scanner.ComputeListOfAssemblies (Monodroid.Arguments
args, System.Collections.Generic.HashSet`1 assemblies,
Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename
unknown>:0
    at Monodroid.Scanner.ComputeListOfAssemblies (Monodroid.Arguments
args) [0x00000] in <filename unknown>:0
monodroid : error 1: System.NullReferenceException: Object reference
not set to an instance of an object
[C:\ENM\Dev\WebClient\src\prod\PubWeb\NSPublic.AndroidClient2\NSPublic.AndroidClient.csproj]
    at Monodroid.Droidinator.CreateApk () [0x00000] in <filename unknown>:0
    at Monodroid.MainClass.Main (System.String[] argv) [0x00000] in
<filename unknown>:0
Done Building Project
"C:\ENM\Dev\WebClient\src\prod\PubWeb\NSPublic.AndroidClient2\NSPublic.AndroidClient.csproj"
(SignAndroidPackage target(s)) -- FAILED.

Does not tell me much... How do I tackle this?

-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to