When do native images get deleted from NativeImages_v2.0.50727_32 ?


hey,

i had question ngen. when use:

ngen uninstall assemblypath

 

when native images deleted nativeimages_v2.0.50727_32 directory. assembly uninstalled want know when files removed physically?

 

do removed when pc restarted or clr ignores them , calls jit compiler assembly?

 

thanks - can anyone reply ?

sumeet

"ngen uninstall" should remove native images folder. however, may not removed, or may reappear if image installed /queue option , .net optimization service working on it. (file in use process). native image used if managed assembly (and managed dependencies) have not changed.

 

overall, system black box , supposed work. it's useful, however, able confirm native images being used application make sure not hitting edge condition causes native images discarded.

 

a way examine how native images being used through fuslogvw.exe tool ships .net framework sdk. tool has mode enabled radio button on main panel log binding information native images. fuslogvw provides useful feature of logging information why native images rejected when issue.



.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'