Windows 8.1 Emulator does not exist

2019-05-27 12:30发布

问题:

I have a Windows 8.1 Pro 64bit installed with Visual Studio 2013 Update 4.

I tried to deploy the app on my device and it was successful. Yesterday, i tried to run the app on emulator and facing some problems.

I downloaded the emulator from Windows Phone 8.1 Update and Emulator

Download contains two files. I tried to install the SDK & Emulation images and setup completed without any problem.

Now visual studio is showing the list of emulators in IDE but whenever i tried to run the app using emulator, VS gave me error as C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\flash.update1.vhd does not exist. I checked the location and found no .vhd file.

Already tried to repair the installation with administrative privileges but that didn't worked.

Anyone have any idea what might be the problem and how to solve this ?

回答1:

Go to http://go.microsoft.com/fwlink/?LinkId=394354 That will start a download of a windowsphone81sdkupdate1.exe Run this program, choose "Repair". Fixed. At least, it did for me.



回答2:

This trick worked for me.

Go to Path "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\flash.vhd" Rename "flash.vhd" to "flash.update1.vhd"