Hello,
I would like to call the ngen.exe of the .net framework to generate native applications of my assemblies that I just installed with the installation procedure.
How would I do this in the installation?
How can I get the path to the ngen.exe and how do i launch commands with the ngen.exe on my assemblies as the assemblies can be installed in any directory if the user selects another directory than the default directory?
Thx,
Bernaert Dominique.
Call .net framework ngen.exe to generate native code
I think it doesn't.
I've added generation of a native image to one assembly to the installation.
Ran it in a vmware box.
Searched using ngen display to see if there is a native image, and it didn't find one.
Please note that ngen of framework 2.0 must be called with the install parameter and you can call the main executable, it will automatically create native images of all depending assemblies.
It would maybe be usefull to integrate a call to ngen with the uninstall parameter when uninstalling the application.
Thx,
Bernaert Dominique.
I've added generation of a native image to one assembly to the installation.
Ran it in a vmware box.
Searched using ngen display to see if there is a native image, and it didn't find one.
Please note that ngen of framework 2.0 must be called with the install parameter and you can call the main executable, it will automatically create native images of all depending assemblies.
It would maybe be usefull to integrate a call to ngen with the uninstall parameter when uninstalling the application.
Thx,
Bernaert Dominique.
Who is online
Users browsing this forum: No registered users and 174 guests