Page 1 of 1

Generate Native Images doesn't work?!

Posted: Tue Dec 18, 2007 6:58 am
by s0m30n3
Hello,

I'm trying to create a native image to my .NET applicaton, and it doesn't seem to work. Right after Install Files last line i added "Generate Native Images for assembly $TARGETDIR$\\application.exe", IA doesn't create the image. If i run a CMD by ngen install application.exe works fine.

Using: IA 6.6 and .NET Framework 2.0


Thx,
Cosmo
[/img]

File Attached:

IAA.bmp

Posted: Tue Dec 18, 2007 9:08 am
by s0m30n3
Please close this post, i found the solution: this action MUST be after Apply Install. (Maybe if the Help stated that i wouldn't lost half of this day!!!) THX anyway!

Posted: Tue Dec 18, 2007 2:08 pm
by H4nd0
It doesn't work properly - try an uninstall. You will see the GAC is never cleared out. In v7 there is a "Remove Unpinned Assemblies" option - but that doesn't appear to work either.

I've written my own batch scripts to ngen our app and purge the GAC on upgrades and uninstall.

If someone can enlighten me on how this is supposed to work then I will be forever in your debt ;)

Posted: Mon Feb 18, 2008 7:43 am
by s0m30n3
I did the same thing! The Images are not even complete, so i stoped using this feature.