WP Emulator Crashing on Windows 8? Here’s a Fix

Don’t you just hate it when you upgrade to a new OS (even when it’s a beta) and everything works amazingly well, except for that one critical bit of infrastructure that just fails? That’s kind of how you might be feeling if you boot up your brand spanking new Windows 8 install, install VS 2010 and the WP 7.1 SDK, followed by the 7.1.1. update to get the emulator and Tango support, boot up your project – hit F5… drum roll… emulator crashes. Sigh.

Luckily, there’s an easy fix!

Rename all of the *.dess files under %systemdrive%\programdata\Microsoft\XDE and restart the emulator, and all should be good.

What’s going on? 

For some reason the saved state of the emulator is getting corrupted, by renaming these files (which could probably be safely deleted) you’re forcing the emulator to recreate them (shutdown may be a little slower the first time you close the emulator).

Comments (3)

  1. doug mair says:

    Rename the files to what?

  2. Oren Nachman says:

    Anything 🙂 The idea is just not to delete them, just in case you need them later. Renaming them will mean the emulator can't find the files and will do a full cycle reboot which should solve your issue.

  3. nicmart says:

    I was wrecking my head to fix this issue on my WP7.1.1 Emulator used with Visual Studio 10 on Windows 8. Your solution works like a charm!