[Mono-list] gmcs crashes on C#3 solution

Felix Natter felix.natter at smail.inf.fh-brs.de
Sat Mar 5 05:16:27 EST 2011


when trying to compile a CSharp3 solution using monodevelop, gmcs crashes:

/usr/bin/gmcs /noconfig
 "/r:System.dll" "/r:System.Core.dll" /nologo /warn:4
 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG;TRACE"  /t:library
 [many .cs files...]

Unhandled Exception: System.ArgumentException: blob is too small.
  at Mono.Security.Cryptography.CryptoConvert.FromCapiPrivateKeyBlob (System.Byte[] blob, Int32 offset) [0x00000] in <filename unknown>:0 
  at Mono.Security.Cryptography.CryptoConvert.FromCapiPrivateKeyBlob (System.Byte[] blob) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.AssemblyClass.GetAssemblyName (System.String name, System.String output) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.CodeGen.Init (System.String name, System.String output, Boolean want_debugging_support, Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Is there another recommended way to build *.sln other than using monodevelop?

I am using Mono 2.6.7. Should I report a bug or is this expected because
Mono does not support CSharp3 ?

Felix Natter

More information about the Mono-list mailing list