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?
Installing Visual Studio 2012 Update 3 should fix the issue http://support.microsoft.com/kb/2864215
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
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:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/07/02/running-the-windows-phone-emulator-on-windows-8-1-preview.aspx
And updating SDK:
http://dev.windowsphone.com/en-us/downloadsdk
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
Related
So here's the story:
Back in 2013 I was developing apps in Windows Phone 7.1/8 platform, using Visual Studio 2012. After some point I had all my apps published and eventually stopped working on them; then I formatted my PC and only kept copies of my VS2012 "Projects" folder.
Last week I received an email from Microsoft that one of my apps will be unpublished from the Marketplace due to non-compliance with specific articles. That's fair enough, so I wanted to edit the app and re-submit, so that I avoid getting my app unpublished.
I installed Visual Studio 2015 on my Windows 7 PC and copied the project folder into VS2015's "Projects". Then I tried to open the .sln file (which had been last edited back in 2014 in VS2012) and got a compatibility error, with the project and its files being listed as "unavailable" in the Solution Explorer.
I tried downloading VS2013 and installing that one instead, but I'm running Windows 7 and VS2013 won't install (requires later Windows version).
Has anyone of you faced a similar situation and if yes, how did you deal with it? I am desperate to create a new updated version of my app ASAP, as I don't want it to go off the Marketplace, but my hands are pretty much tied.
Thanks
You can not create or edit windows phone 7.1 projects in vs 2015. The last version of visual studio you could use was vs 2012. Here is a link to the windows phone 7.1 sdk which should install windows phone express
https://www.microsoft.com/en-us/download/details.aspx?id=27570
and the update for windows phone 7.8
https://www.microsoft.com/en-us/download/details.aspx?id=36474
I have installed Windows Phone sdk 8.0 on 32 bit operating system with already installed visual studio 2012 ultimate sdk successfully installed from command prompt c://wpexpress_2full.exe/layout
now I have tried running from visual studio but I found no option to select win phone project option I used this link to install sdk
http://www.microsoft.com/en-us/download/details.aspx?id=35471
They make clear on downloadpage about the installation requirement.
Windows Phone emulator uses Hyper-V, which also requires Hyper-V requires a 64-bit system that has Second Level Address Translation (SLAT).
I am using a Nokia lumia630 device, which uses latest windows 10 insider preview build available.
i created a sample windows UWP application and took a build of the same.The output of the build is an Appx.
How can i install this Appx to my device? Anyone having any idea?
Deploying apps to Win 10 Mobile is a bit difficult when using the command line tool. A great alternative is the Device Portal that is available under the “For Developer” settings.Its available with the latest build.
Now You can connect to the device using a web browser and manage apps via the Apps page with no pairing/pin required. This seems to be an easy way of deploying apps than using command line.
Microsoft developed a command line tool called WinAppDeployCmd so you can deploy an Universal Windows app from a Windows 10 machine to any Windows 10 Mobile device via USB or WiFi (since they're on the same subnet). That's a perfect solution if you doesn't have Visual Studio, the app source code or you're under a Hyper-V Virtual Machine.
Basically you will need:
Windows 10 SDK
Generate the .appx package (PC)
Enable the developer mode (Mobile)
Turn on the discovery mode (Mobile)
Get the code to pair devices (Mobile)
Get mobile IP address using WinAppDeployCmd tool (PC)
Run command (PC)
The command will look like this
WinAppDeployCmd install -file “<path>” -ip <ip> -pin <pin>
The tool can be found at C:\Arquivos de Programas (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe
You can find a detailed step-by-step tutorial here
Visual Studio allows you to directly deploy an app to a windows phone. You need to register your windows phone as a development phone with Microsoft. Once this is done, you could use visual studio to do this for you. Not sure if you can deploy windows 10 apps to your phone at the moment. Try this link and see:
https://msdn.microsoft.com/en-us/library/windows/apps/ff769508%28v=vs.105%29.aspx Remember to Upvote if this helps.
You can register your Windows Phone 10 in developer mode. Follow these steps and you can achieve your goal.
When you use device portal like mentioned in the answers above, some might get the following error
"Failed to start deployment. Failure text: Package failed updates, dependency or conflict validation. (0x80073cf3)"
To fix this:
Add the dependencies found under "Dependencies/ARM" folder.Add it here.
I had to add following dependencies to make it work:
Microsoft.NET.CoreRuntime.1.0.appx
Microsoft.VCLibs.ARM.Debug.14.00.appx
I just received my Windows Phone, which is running Windows Black. I opened a test app in Visual Studio 2013, but when I deploy app to device I get time out error. The apps run perfectly in emulators including "Emulator 720p", but when I switch it to deploy device, I get an error.
My Setup:
Windows Studio Professional 2013(Legal Copy)
Lumia 1520
Laptop i7/8GB HHD:40GB(free)
I have 3 USB ports and I get the same error on all 3 ports. I have restarted the pc & phone, multiple times. I have transferred music to the phone through File Explorer and set up the Developers account.
Note: I have wrote apps for Windows 8 and 8.1, never had this error, so right now I'm at a stop. All drivers are installed and updated.
Error: Error 1 This operation returned because the timeout period expired. 0 0
I think you need a newer SDK. (I'm not sure there is a newer one).
As I know, Lumia 1520 has a newer OS (newer than 1020 and 920 etc.)
So, I think Microsoft could publish a new SDK for Windows Phone 8.1 (Lumia 1520 should be running with WP8.1 OS)
You can try to remove your device from Device Manager list and add it again, if don't work, you can try on another computer but anyway I don't think these advices are fix your problem.
Wait for the newer SDK.
Solved
Solution: Unknown, but I can navigate through Phone's folder in explorer to view files versus before when I had to wait up to 5 seconds for the files to show.
I turned off Hyper-V and restarted my PC to install vmware, so maybe it's Hyper-V.
I make it work by saving and restarting the app and run again.
I am a beginner for windows phone app..I installed visual studio 2013 ultimate which includes windows phone 8 SDK.. (Blend for visual studio 2013)
I checked my Laptop windows 8 64 bit,core i3 Intel 1.8 GHz Processor..
When I started my first app then an error came in emulator..
"The Windows Phone Emulator requires Hyper-V. Your PC is missing the following pre-requisites required to run Hyper-V: Windows 8 Professional (64-bit)"
I have tried lot of times but icouldnot find any result..
I have searched Stack over flow but did not find any solution. Now I am asking to you people plz solve my problem.
I have checked systeminfo. and msinfo32 all having hyper-V. SALT supporting,
this is also. http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-25-metablogapi/2480.011813_5F00_0935_5F00_HyperVonCli2.png
But in Turn Windows Features on and off,,does not contain folder Hyper-V.
Also Checked all these things,,my system is suppoting all these things. "http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx#BKMK_enablehyperv"
Kindly help me about this problem...???
how can I become a member of the local Hyper-V Administrators group.?
Waiting........!!!!!!!!!
You should be using Windows 8 pro to make it work.