[Mono-osx] Having a hard time bundling my app as a mac app due to "System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost”

Jean-Louis 'Hans' Fuchs ganwell at fangorn.ch
Sat Jan 21 03:42:18 UTC 2012


Hello

If you call "Create Mac Package…" in MonoDevelop, select "Don't link assemblies". It is a bit counter intuitive. Linking means removing unused code, which isn't very reliable. By selecting "Don't link assemblies" it will bundle the complete assemblies and you won't get any MissingMethodException exceptions.

Best,
	Jean


On 21.01.2012, at 03:53, Maurício Linhares wrote:

> Hello guys,
> 
> I'm new to the Mono and MonoMac world and I'm having a hard time
> trying to understand what's happening in here.
> 
> My app runs completely fine on MonoDevelop, but when I generate a Mac
> application package from it it just does not with the following
> exception:
> 
> https://raw.github.com/gist/1650961/679027501fc6d89a12b049bdb59f957087d48911/exception.txt
> 
> I've seen people talking about "mkbundle --config" but I can't see any
> option to do something like this on Mac app packages on MonoDevelop.
> Any hints on this issue are greatly appreciated.
> 
> (and for those who like to be upvoted on SO -
> http://stackoverflow.com/questions/8950226/mono-application-in-a-mac-fails-with-system-missingmethodexception-default-con
> )
> 
> Thanks in advance!
> 
> -
> Maurício Linhares
> http://techbot.me/ - http://twitter.com/#!/mauriciojr
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list