This project is read-only.

Referencing

Topics: Compiler, Using Cosmos (Developing your own OS, projects, etc)
Feb 17, 2014 at 4:18 PM
I didn't understood what appen when i reference an assembly into my cosmos project.
Is binary translated?
Is ignored?
It works?
Feb 17, 2014 at 5:01 PM
Edited Feb 17, 2014 at 5:02 PM
Well the compiler build that assembly only when you reference it in your project (I.e. Call that type or method directly or indirectly from Run or After Run). Else it won't build..IL2CPU scan for inline method call only and build those methods/types only...for example if you create a method in your kernel class but don't call via directly or indirectly through Run or After Run method or don't mark it as plug then compiler will not build it... =)