T
Tommy Duchesne
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...
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...