I'm getting an odd error, running on Ubuntu 12.04, running under Mono JIT
compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2).

This occurs when a particular entity is returned from a web service call,
although I have no idea what would cause this, as I'm able to serialize and
deserialize to and from an XML file and it's only when I get the data back
from the SOAP web service that this occurs. In fact, it doesn't always
occur even when calling the SOAP service, but that seems to be when it's
most likely to happen. Any ideas?

System.Exception: Compiler failed to produce the assembly. Output: 'dmcs
/target:library /debug- /optimize+ /out:"/tmp/57f941b4/2f96abfc.dll"
/r:"/path/to/MyAssembly.dll" /r:"/usr/lib/mono/4.0/mscorlib.dll"
/r:"System.dll" /r:"System.Xml" /r:"System.Data"  --
"/tmp/57f941b4/2f96abfc.cs"

/tmp/57f941b4/2f96abfc.cs(521435,48): warning CS1522: Empty switch block
'
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch
(System.CodeDom.Compiler.CompilerParameters options, System.String[]
fileNames) [0x00000] in <filename unknown>:0
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters options, System.String[]
fileNames) [0x00000] in <filename unknown>:0
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFile
(System.CodeDom.Compiler.CompilerParameters options, System.String
fileName) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializer.GenerateSerializers
(System.Xml.Serialization.GenerationBatch batch,
System.CodeDom.Compiler.CompilerParameters cp) [0x00000] in <filename
unknown>:0
  at System.Xml.Serialization.XmlSerializer.RunSerializerGeneration
(System.Object obj) [0x00000] in <filename unknown>:0
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to