This project is read-only.


Could it compile code have System.Collections types?


I can't compile code file which has Collections types, such as List, Stack with the simple demo compile command Il2c.exe bm2c.cs /corelib:CoreLib.dll. Tried to replace corlib.dll with MScorlib.dll, but still not working. Is IL2C support "add reference" or something like that, so user can expand their code?
Closed Feb 2, 2016 at 10:06 PM by AlexDev
not an issue


AlexDev wrote Feb 2, 2016 at 10:06 PM

download the file package_08012016.7z (with DEBUG) from download area and inspect .bat files to see show to compile with references. If you are using CoreLib then namespaces System.Collections already included and does not require references.

AlexDev wrote Feb 4, 2016 at 7:52 PM

additionally you can just copy all dlls which you need into current folder. or you can use option /ref. Please review all switches in the IL2C