ngen app.exe asm1 asm2

This is a follow up of my previous post. Ngen.exe accepts options like “ngen app.exe asm1 asm2 ...”, where asm1/asm2 can be display name, or file path.

If you use this syntax, ngen will compile all the assemblies in the context of app.exe. Presumably performance will be better when those assemblies are used in app.exe.