Unable to start Windows Phone 8 SDK - windows-phone-8

I have installed Windows Phone 8 SDK with Visual Studio 2012 Professional with all updates. When I create a sample project and try to run its not showing any emulator to run on
When I am running the XDE file directly from C:\Program Files (x86)\Microsoft XDE\8.0 path its showing me following errors:
then when I am hitting retry its shows me following error
After clean installation over and over again the SDK is not able to create a Virtual machine as shown below
What should I do now???

Try to execute Visual Studio as Administrator

As said above, try to execute VS 2012 as administrator and if that doesn't work, re-install VS 2012 and Phone SDK.

Related

Debugging Windows 10 Mobile App on a Device

I created new UWP app in VS2015, but when I am trying to debug App on a device it's giving me below error:
Error : DEP6400 : Failed to deploy. Make sure another deployment or debugging session is not in progress for the same emulator or device from a different instance of Visual Studio: Error writing file '%FOLDERID_SharedData%\PhoneTools\11.0\Debugger\bin\RemoteDebugger\vbdebug.dll'. Error 0x80072736: An operation was attempted on something that is not a socket.
Below is my system spec:
Windows 10 PC Build: 10240,
Visual Studio 2015, UWP SDK: 10586,
Package Manifest Target Version : 10586
Package Manifest Min Version : 10240
Windows 10 Mobile Build on Device: 10.0.10586.71,
Please guide me what this error is and how to resolve this error.
Zee,
Please make sure that you are checking the following below running the app.
There is a chance that you already opened a visual studio and you would have run app. Then you would have opened visual studio again and you tried the run the app again.
Here the problem is, only one visual studio can run at a time. When the first visual studio is running and when you try to launch the project once again, it will fail.
Try to restart your machine and run the project.
If you are not willing to restart the machine, open your task manager and close all the visual studio running instance.

Visual Studio 2013 can't open project of windows phone 8.0

I have the Windows Phone 8.1 SDK on my dev pc installed together with VS 2013 Community Update 4. I need to open some WP 8.0 projects, but I can't do that without having WP 8.0 SDK installed, give me that error:
I tryed to download the Windows Phone SDK 8.0 from Microsoft site but when I lunch the istaller give me that error:
How can I resolve that problem? If I go to the link didn't explain nothing.
Regards,
Roberto
The error message is self-explanatory, you need a 64bit OS (x64) but you are running a 32bit one (x86).
I think that the reason why this happens is because your VS2013 version is x86 and you downloaded the x64 version of WP8 SDK.
Try the following instead of downloading the SDK and manually installing it.
Right-Click on Start Button
Open Programs and Features.
Find Microsoft Visual Studio 2013.
Click on it and Click Change.
Select Modify.
Choose the Windows Phone 8.0 SDK from there and click Update.

Error running Worklight project as Visual Studio project

I have an error when trying to run Worklight project as Visual Studio Project.
The project is set up in Eclipse Juno EE, Worklight version is 5.0.6.2. Project is successfully can be build and run as Android project. But when I run it from Eclipse menu Run->Run As->Visual Studio project I have an error:
Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegKeyEx(…) returned error code 5.
Failed Running Visual Studio: Cannot find Visual Studio 2012 or later.
Am I missing something obvious?
Thanks a lot in advance for help.
Do you have Visual Studio 2012 or 2013?
In 5.0.6.x, if you have Visual Studio 2013 you will need to double-click the .csproj/.jsproj accordingly in order to open the project.
This is fixed in newer versions of Worklight; namely, Worklight 6.0.0.x and above.

Windows Phone 8 emulator runs from Hyper-V, but I can't debug from Visual Studio

I'm running Visual Studio 2013 on Windows 8.1 Pro.
I am having an issue with debugging Windows Phone 8 apps. When I try and deploy to the virtual Phone (Emulator WVGA 512MB), I get the following:
When I click yes, I get the following error:
After this I get the following error in Visual Studio:
Error 1 App deployment failed. Please try again. Line: 0 Column: 0
If I select No, it just sits on a screen with the following message:
The Windows Phone OS is starting...
I can run the emulator fine directly from Hyper-V, just not from Visual Studio.
I have tried a full repair of Visual Studio. Has anybody seen this? How do I solve this?
Thanks
i usually delete the emulator vm and whatever virtual switches that was created with it, then restart the pc, after that i open Visual studio and i run my app, so that visual studio starts and creates the vm needed, then it works fine
You don't always need to restart i just do it just in case, deleting only the VM can help. just run your app through visual studio again.
open hyper-v go to virtual switch manager and delete all the switchs
then open again your vs and run your project in the emulator , press yes when the configuration message appears
and wait ...
if doesn't work then go to the hyper-v and connect to your emulator and run your project again

kb2744908 not found when installing Windows Phone 8 SDK

I have Visual Studio 2012 Pro and Windows 8 Pro. I went to install the Windows 8 SDK, and it installed fine on one of my computers, on which I installed the SDK before installing the Visual Studio 2012 Update 1. But on my second computer, where I installed the Visual Studio 2012 Update 1 before the SDK, I got the following error: KB2744908 Element not found.
Not sure if I would worry about this, or not.
I've attached a screenshot, so you can see the issue. Thanks!
It seems to have fixed itself. After rebooting and allowing the installer to finish after reboot, the SDK works fine. I have successfully created, edited, built, and deployed an application (albeit it was very simple) using the SDK.