[Mono-dev] Porting mcs to IKVM.Reflection
kornelpal at gmail.com
Sat May 8 08:05:02 EDT 2010
There simply is no special case for building mscorlib.dll.
There is a /nostdlib option however that enables features required for
I would recommend SetMscorlib over LoadMscorlib because that would not
restrict how you can create or load mscorlib.dll.
Jeroen Frijters wrote:
>> I've just realized that DefineDynamicAssemblyImpl should not hardcode
>> the name "mscorlib" since C# compiler is able to us any name when
>> compiling with nostdlib.
> The hardcoded name bother me too, but then I couldn't think of any realistic scenario where you'd build an mscorlib with a different name. Do you have any examples?
> Also, how does gmcs know that it is compiling mscorlib?
> BTW, the solution I would prefer would be to add DefineMscorlib() (taking the same parameters as DefineDynamicAssembly).
More information about the Mono-devel-list