# Monday, 29 March 2010
« 0.42 Update 1 RC 1 | Main | New Development Snapshot »
IE9 Preview disables CLR DEVPATH feature

(This is not related to IKVM.NET, but since I spent several hours tracking this down, I thought I'd write it up here in the hope anyone else struggling with this will find it.)

One of the lesser known (development) features of the CLR is the ability to override the regular Fusion assembly loading rules by setting the DEVPATH environment variable (and adding an entry to the machine.config to enable this).

It turns out that this feature can be disabled by setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DevOverrideEnable to 1.

When the IE9 Platform Preview is installed it adds this value to the registry.

To re-enable DEVPATH, set the value to 0 or delete it.

Monday, 29 March 2010 08:20:22 (W. Europe Daylight Time, UTC+02:00)  #    Comments [1]
Tuesday, 30 March 2010 18:58:26 (W. Europe Daylight Time, UTC+02:00)
That's really weird. CLR Fusion owner is looking into it (he was quite surprised by this).

Thanks for your report,
-Karel Zikmund (dev on CLR TypeSystem team)
Karel Zikmund
Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Comment (HTML not allowed)  

Live Comment Preview