I have a simple .NET application that consists of an EXE file and a couple of DLLs. I'd like to use NGEN to pre-JIT my .exe so I added it under Assemblies and selected the following options:
- Destination: "Private Install To: APPDIR\filename.exe"
- Type: .NET assembly (also, the "Generate native image for private assembly" checkbox is selected)
The only ".NET Native Image" options that I changed were both under "Installation":
Platform is set to: "A native image same as the target platform"
Priority is set to: "Wait for this native image generation to continue"
My installer completes as expected but I don't see the native image anywhere (filename.ni.exe)? Shouldn't it be in APPDIR since I'm doing a private install and not registering it with the GAC?