[Mono-dev] System.TypeLoadException when use 2nd widget from CustomWidget

d_aero mono at ddbsoft.co.uk
Wed Dec 1 04:37:19 EST 2010


Hi, this is my first post to this forum so excuse any errors.

I am using monodevelop 2.4.1 (2.4 was the same) on Windows XP. I have
successfully created a new widget in a Custom Library and can use this
widget in my main application. When I create a second widget in the Custom
Library the library builds ok. If use the 2nd widget in the main application
it again builds ok but when I run it I get the following:

Unhandled Exception: System.TypeLoadException: A type load exception has
occurred.

This happens consistently even if the new 2nd widget only contains a frame
and label.

I have looked for any similar problem but couldn't find anything. Am I doing
something wrong or is there a solution please.

Thanks in advance.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/System-TypeLoadException-when-use-2nd-widget-from-CustomWidget-tp3066901p3066901.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list