Hi All

Recently i try to use mono linker to make a smaller mono runtime, and i got
this error message, any comment is welcome.

Linux:~/monocharge-20090108/1.0#  mono monolinker.exe -out 1 -a
/usr/local/xxxx/sbin/XXXX.Standalone.Daemon.exe
Fatal error in Mono CIL Linker
System.NullReferenceException: Object reference not set to an instance of an
object
  at Mono.Linker.Steps.MarkStep.MarkCustomAttributeProperties
(Mono.Cecil.CustomAttribute ca, Mono.Cecil.TypeDefinition attribute)
[0x00000]
  at Mono.Linker.Steps.MarkStep.MarkCustomAttribute
(Mono.Cecil.CustomAttribute ca) [0x00000]
  at Mono.Linker.Steps.MarkStep.MarkCustomAttributes
(ICustomAttributeProvider provider) [0x00000]
  at Mono.Linker.Steps.MarkStep.MarkAssembly (Mono.Cecil.AssemblyDefinition
assembly) [0x00000]
  at Mono.Linker.Steps.MarkStep.InitializeAssembly
(Mono.Cecil.AssemblyDefinition assembly) [0x00000]
  at Mono.Linker.Steps.MarkStep.Initialize () [0x00000]
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context)
[0x00000]
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context)
[0x00000]
  at Mono.Linker.Driver.Run () [0x00000]
  at Mono.Linker.Driver.Main (System.String[] args) [0x00000]

the mono linker i used was downloaded from Mono Daily Packages,
monocharge-20090108.tar.gz<http://mono.ximian.com/daily/monocharge-20090108.tar.gz>,
with mono runtime 2.0.1

Regards
Treker
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to