-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: LostWorld79
Message 7 in Discussion

 The native image cache is a reserved area of the global assembly cache (GAC). 
When you create a native image of an assembly, it will load and execute faster. 
When you create a native image of a common language runtime (CLR) assembly, the 
native image is cached on the local computer in a reserved area of the Global 
Assembly Cache (GAC). After a native image is created, the runtime 
automatically uses this native image every time it runs the assembly. The 
runtime reverts to just-in-time (JIT) compilation of an assembly when it cannot 
find a matching native image. When certain changes are made to a computer�s 
settings and environment, any native images previously created become invalid. 
The following changes cause native images to become invalid: Any patching or 
updating of the .NET Framework causes all native images to become invalid. 
Upgrading a computer�s CPU to a new processor family causes all native images 
to become invalid. Any change made to the version of the operating system 
causes the native images to become invalid. If an assembly is recompiled into 
Intermediate Language (IL), any native image that exists for this assembly 
becomes invalid. If any referenced assemblies are recompiled into IL, the 
native image for the assembly that references these assemblies becomes invalid. 
If machine security policy is changed so as to restrict previously granted 
permissions to an assembly, the native image for this assembly becomes invalid. 
These changes do not mean that an assembly will not run, but that the native 
image will not be loaded and the runtime will resort to JIT compilation. 
Regardless of the situations where a native image can become invalid, you may 
want to compile assemblies into native images during the installation of your 
application. To perform this operation, you need to create a number of custom 
actions, most of which will run ngen.exe with a particular command line. 
Ngen.exe is the native image generator that comes with the .NET Framework when 
it is installed. Refer to the MSDN Library for a complete discussion of this 
utility. NGen.exe (The Native Image Generator) can be used to create a native 
image from a managed assembly and installs it into the native image cache on 
the local computer.  Know More : 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfnativeimagegeneratorngenexe.asp

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to