1

Closed

Plug needed. System.RuntimeTypeHandle System.Type.get_TypeHandle()

description

I an new to COSMOS and can't find any help for this error. I am trying to create a simple calculator.
 
Here it is:
System.Exeption: Plug needed. System.RuntimeTypeHandle System.Type.get_TypeHandle()
Closed Jun 22, 2012 at 1:24 PM by kudzu
http://cosmos.codeplex.com/wikipage?title=Plugs&referringTitle=FAQ

comments

smremde wrote May 26, 2010 at 8:43 AM

I've had this error too but found it very difficult to pin down what is causing it. Can you try removing parts of your OS until the OS will build? Then find out what the problematic line is?

rohangeorge91 wrote May 26, 2010 at 3:19 PM

Got similar error. For me, the cause was due to the usage of float or double in coding. Might be a bug in the MS4 compiler.

mterwoord wrote May 28, 2010 at 4:05 PM

Problem is that at some point your using typeof() instruction. Cosmos does not support runtime type information. With the devkit, the compiler generates an html file which will help you pinpoint what method is doing so....

smremde wrote May 30, 2010 at 12:31 PM

I think some static constructor uses it. I tried to trace this error a while back but we need a better log of what calls what so we can trace it back to what is calling the method that needs plugging. I definitely did not use typeof() when I got the error.

JoshuaB wrote Oct 20, 2010 at 2:23 AM

@mterwoord
Where can I get this devkit that you are talking about. I have been getting the same error.