Bhavbuti,
the ngen.exe utility is a utility from M$ that is bundled in the .NET SDK. It's main purpose is to remove(reduce) the lag (in some applications) that is caused by the fact that the JIT comiler has to work really hard when the app first starts.
ngen.exe can be used on any .NET assembly (i.e. exe or dll) (I have only tried it on an exe).
Einar
>Hi Einar
>
>>Did you try to use the ngen.exe command line utility to pre-compile the IL code? That way you should be able to find out if it is the JIT-compiler (.NET Framework) that is slow or if it is the acctuall startup code that is causing the slow startup.
>
>I didn't know about it nor I had the time, by the way does it work on executables? But this is confirmed that it always loads that slow.
Semper ubi sub ubi.