I have problem with Visual Studio 2012 (OS: Windows 8.1 Preview)
- Create empty project (Windows Phone App)
- Press F5 to start debugging.
And I get 0x80131500 error code, with no detailed description. Only this: Deployment of application to device failed.
Output:
1>------ Deploy started: Project: PhoneApp1, Configuration: Debug Any CPU ------
1>Deploying C:\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\Bin\Debu\PhoneApp2.xap...
1>Connecting to Emulator WVGA 512MB...
1>Deployment of application to device failed.
1>0x80131500
Has anyone encountered such a problem. How it can be solved?
Windows 8.1 Preview
does not support the Windows Phone 8 sdk
to run on the Visual Studio 2012
. You cannot run Emulator as well so better you should use a stable Windows 8 version
for WP8
development. This is the statement right from Microsoft Support
After you upgrade your OS to Windows 8.1 Preview, you cannot run Windows Phone 8 Software Development Kit (SDK) emulator (XDE.exe) in Microsoft Visual Studio 2012
Reference here
Installing Visual Studio 2012 Update 3 should fix the issue http://support.microsoft.com/kb/2864215
In my case, updating Windows Phone SDK and VS Express 2012 helped on Windows 8.1, but performance is poor. If it's helpful try installing update to VS:
And updating SDK:
For some one who is looking for an answer who has the same issue while working on a virtual environment, here is a nice article on it
Setup: Visual Studio 2013 + Windows 8.1 (no betas) + this did work
Resolution: Restart the Hyper-V service
I'm also receving this error while simulating the program. i hav win 8 only and vs12 windows phone...
but when i serach info. regarding this error i get i have not hyper-v windows feature. try this feature you have or not and enable it..
Hyper-v Link : http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx
I found this is the key thing to check, as per (WP8) Emulator (XDE) Troubleshooting Tips on msdn:
Launch the “Network Connections” manager (from the home screen, type in “View Network Connections”, It will be listed under Settings)
Right click on the adapter named: “vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)”
For that adapter, the only items that should be checked under “This connection uses the following items:” should be:
- Client for Microsoft Networks
- QoS Packet Scheduler
- File and Printer Sharing for Microsoft Networks
- Microsoft LLDP Protocol Driver
- Link-Layer Topology Discovery Mapper I/O Driver
- Link-Layer Topology Discovery Responder
- Internet Protocol Version 6 (TCP/IPv6)
- Internet Protocol Version 4 (TCP/IPv4)
All other items should be unchecked.
I installed Windows Phone 8 SDK. Emulator didn't work because Hyper-V was not turned on. I installed Hyper-V from Programs & Features and got the 0x80131500 error.
Visual Studio 2012 Update 4 fixed the issue.
I faced the same issue. Later i was able to fix the issue by downloading and installing Visual Studio 2012 Update 4 from microsoft website.
Try out these steps if using VS 2012 with Windows 8.1 Pro:
- Uninstall Hyper-V
- Reboot
- Install Hyper-V
- Reboot
This should help.
service Remote server of you is disable. You could enable remote server! And don't can reinstall Hyper-V. it's working for me!
I solved with following repair sequence :
Uninstall Hyper-V Reboot
dism.exe /Online /Cleanup-image /Scanhealth
dism.exe /Online /Cleanup-image /Restorehealth
Reboot Install Hyper-V
RG
来源:https://stackoverflow.com/questions/17488017/windows-phone-8-emulator-not-launching-error-code-0x80131500