View Full Version : GAC and NGEN with installshield 2008

01-21-2009, 09:56 AM
We need to put our .net assembly in global assembly cache and also need to NGEN the same. We have done following to achieve the same.
1) We have set component's "Destination" property to "[GlobalAssemblyCache]" and
2) We have set component's ".Net Precompiled Assembly" property to "YES".

After applying this setting while building the application its giving following error.

"ISDEV : error -6490: Unable to set Just-In-Time compilation at install time because the Component [ComponentName] is configured to install to the Global Assembly Cache."

Please help us to resolve this error. Or please show us the correct way to perform GAC and NGEN at the time of installation.

Please reply ASAP if there is any solution.

02-11-2009, 09:53 AM
I too am getting this same behavior. Anyone have an explanation as to why? I'd prefer to not use a custom action if I could use the built in functionality.

06-21-2010, 05:06 PM
I'm seeing the exact same thing. Anyone?