ngen.exe

  • Thread starter Thread starter Samuel
  • Start date Start date
S

Samuel

Can the use of ngen.exe eliminate the need to install the .NET Framework on
destination machines

This practice would make a huge performance improvement on older machines

Thank you,
Samuel
 
even if you ngen your assemblies, the framework would still be required.
ngen simply eliminates the JIT (Just-In-Time) compilation.

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com/)
 
Samuel said:
Can the use of ngen.exe eliminate the need to install the .NET Framework on
destination machines

This practice would make a huge performance improvement on older machines

I don't know about ngen.exe, but look up .net linkers -- they create a
single executable of you're app *and* the .net libraries it uses. Then
maybe you can run ngen on the result (ghasp!)

(Salamander and Xenocode .Net linkers are payed. I seem to recall a
post were a free linker was announced, but couldn't find it...)

Regards,

Branco.
 
Samuel said:
Can the use of ngen.exe eliminate the need to install the .NET Framework
on destination machines

No. "ngen" simply creates a native image of the managed executable and
places it in the GAC's Native Image Cache.
This practice would make a huge performance improvement on older machines

Why?
 
Back
Top