Windows Phone Emulator wont run corrrectly - windows-phone-8

Facing a strange Problem...
In Visual Studio 2013 Ultimate my Phone App Builds correctly, i can deploy it to my device, but when deploying to the Emulator the XDE Pops up and says "Windows Phone OS is starting...".
I can see in the HyperV Manager that the OS Runs in Hyper-V, but the Emulator doesnt Show the Output and thus is no Debugging possible.
Have deinstalled VS2013 completely, restarted, new freshly installed.. no changes...
No error Messages.. nothing :(

Don't forget to install the latest quarterly updated for visual studio 2013. I ran into a problem with the emulator (VS2012) when I installed the Azure toolkit which clobbered the quarterly update with similar problem as a symptom. Had to reapply (fix) the quarterly update.

close your emulator and delete the snapshot that is in the hyper-V manager
run the emulator again and see if it is working appropriately
(The snapshot, in this case holds the bad response of the emulator. once you delete it and run the emulator, it again reforms to hold the actions where the emulator could work properly)

Related

Can't deploy window phone apps to Emulator. Error DEP6100 & 6200

I create new default project Window Phone, then run it with Emulator Window Phone but it's not work however emulator started.
I use Window 8.1 64bit with Visual Studio Professional 2013 - Update 4
Error say:
Error 1 DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device': SmartDeviceException - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Error 2 DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Help me Thanks !
Did you try all these steps?
Closing Visual Studio
Going to the "Control Panel"
Selecting "Programs and Features"
Find "Windows Phone 8.1 Emulators - ENU" in the list
Click the "Change" button at the top or right-click and select "Change"
On the "Visual Studio" window that appears; select "Repair"
Wait for the process to complete, and re-open Visual Studio
Run the emulator again
Or else check out for more here:
Windows phone 8.1 emulator not loading OS
Windows phone 8.1 Emulator launching issue
I had this same error... I'll start by saying that reloading Visual Studio 2013 and Windows Phone SDK 8.0 did not fix my issue. What did correct my issue was creating a blank project within the Visual Studio Express 2012 for Windows Phone and deploying the project. Then I went into Visual Studio 2013 and tried deploying my project again and voila, it worked. Why, I have no idea. My guess is there is a file or configuration that is set up by VS Express for WP.
For error DEP6100 on Windows 10 Emulators 10.0.1.0 (1081p 2gb)
You should Delete all (VHD and AVHD) files in:
C:\Users\MyUserName\AppData\Local\Microsoft\XDE\10.0.1.0\
All will be recreated when the emulator will restart. Replace MyUserName by you user name.
Should work with other emulators (you could check your local Hyper-V to find the right path)
See you :)
I had your same problem and after many attempts resolved it this way:
Deactivate Hyper-V (and restart computer).
Go in the Device Manager and open the Network Adapters, here uninstall everything with the name "Hyper-V...", this will allow us to reactivate Hyper-V without any conflict.
Activate Hyper-V (and restart computer).

You don't have permission to run the emulator

I am facing problem in deploying windows phone 8 app in the emulator. But each time I am going to deploy its showing the message like the figure. Can any one please help me how can I get rid off this disgusting message? I am using using VS Express 2012 with update for in Windows 8.1 Pro.
You need to hit the Retry button. If that succeeds then log off of the machine and then logon again.
Pressing retry will add you to the Hyper-V administrator security group. After this you have to sign out of your development machine and then log in again for changes to take effect , and then deploy app to the Emulator.

Issue packaging a Windows Phone 8 app

I just installed Visual Studio 2013 on my machine (which runs Windows 8.1 Enterprise Build 9600). I checked to include the Windows Phone 8 SDK option during install.
Once complete, I launched VS and tried a new Windows Phone App project.
Created and built fine. However. when I tried to run on the emulator, I get the error:
Xap packaging failed. Cannot access a closed Stream.
... and ...
Could not find file 'c:\users\wade\documents\visual studio 2013\Projects\DataBoundApp1\DataBoundApp1\obj\Debug\XapCacheFile.xml'. Please rebuild the solution and try again.
Tried a clean and rebuild but still occurs. Also happens with the data bound app project.
So, I tried installing some of the SDK updates found here: http://developer.windowsphone.com/en-us/downloadsdk. All installed without a problem; however, when I tried again I got the same error.
Note: the emulator starts and runs just fine. The problem is creating the phone package and deploying to the emulator.
I'm not sure how to fix. Anyone have this issue?
UPDATE:
I have tried reinstalling the Windows Phone 8.0 SDK and all the updates. I should note that I also have VS 2012 installed and I also cannot create a Windows Phone 8 app in VS2012.
Here's an image of the WP8 stuff installed:
I resolved this issue by downloading the full Windows Phone 8.0 SDK ISO and installing (followed by a repair on the two updates).
I wish I could better explain how my machine got into this state. My suspicion is it's because I already had VS2012 installed on the machine and VS got into a confused state.
Total time spent? 4-5 hours.

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

Windows 8 - Installed app missing once I close the emulator and reopened?

I started working on windows-8 this morning and I am surprised that installed app not displayed in the emulator which I installed in the morning. To be clear.
1. I created the new project called Test1 using visual studio Express 2012.
2. I installed on the emulator.
3. I close the emulator completely.
4. After an hour I created Test2 using visual studio Express 2012.
But i am not able to find the Test1 project in windows-8 phone emulator.
But when i work on iPhone and android the apps will be available if i recreate the emulator.
What could be wrong?. Do I need to change any settings?
the emulator does not persist app installs to the base image. (this was true with WP7x emulators). I don't remember seeing anything that tells me it has changed.
Emulator shutdown + start == fresh new emulator. Only time it persists your app etc is when you change settings like display language etc and emulator initiates a restart.