2012年8月9日

[Azure] Computer Emulator failed to start

While setting up my Azure development environment, I cannot start Azure computer emulator when debugging Azure project.

The issue was caused by space in my user name.

To fix this

  1. Start Windows Azure SDK Command Prompt
  2. Set the environment variable _CSRUN_STATE_DIRECTORY to an folder which has no space in its name, for example C:\temp by the command line :set _CSRUN_STATE_DIRECTORY=c:\temp
  3. Start emulator by CSRun.exe /devfabric:start
  4. Restart VS and run again

Blog Archive

About Me