Jump to content
Microsoft Windows Bulletin Board

What is the list of all NGen artifacts that we should add to our UWF write filter exceptions list?


Recommended Posts

Guest Tommy Duchesne
Posted

Hi,

 

 

we are developing an application on Windows 8 x64 embedded and we are having issues making the UWF write filter and Ngen coexist.

 

 

I know that Ngen places its assemblies in C:\windows\assembly\NativesImages_* and we excluded that folder, and there's also the registry for which we added exceptions:

 

 

uwfmgr registry add-exclusion "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework"

 

uwfmgr registry add-exclusion "HKEY_LOCAL_MACHINE\SOTWARE\Microsoft\Net Framework Setup"

 

 

 

Without it, we got errors with "Ngen error because Mscorlib.dll does not have a native image" for each assembly being optimized. With them, sometimes we still get this error, but not for all of our assemblies, which makes our application go faster, but not as fast than we do not get this error without the write filter enabled.

 

 

It is very hard to figure out what we should exclude. Our only option now is to do compare the whole filesystem before and after.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...