Build error!

Topics: Using Cosmos (Developing your own OS, projects, etc)
Sep 3, 2014 at 10:19 AM
Edited Sep 3, 2014 at 10:20 AM
Hi everyone I am new in this community, and as noob I have some problems! Now I create a new OS called Maros OS (why Maros because my name is Martin and I use the first tree letters from my name (little stupid but)). So the problem is that If I want to add new feature to the OS like draw image I get an error message when Cosmos builds the OS, the message is:

System.Exception: Plug needed. System.Int32 System.Drawing.SafeNativeMethods+Gdip.GdipGetImageWidth(System.Runtime.InteropServices.HandleRef, &System.Int32)
at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug)
at Cosmos.IL2CPU.ILScanner.ScanQueue()
at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod)
at Cosmos.Compiler.Builder.Builder.RunEngine(Object aParam)

this message only appears when I add the System.Drawin Reference OR ANY OTHER REFERENCESS!
and the code is for console app!

__THANKS FOR EVERYTHING AND HAVE A BLESSED DAY (NIGHT)!
BEST WISHES MARTIN STANIMIROV IVANOV (14) (MART225 SOFTWARE)!__