Cannot debug Windows Phone app after install Visual Studio 2014 CTP - windows-phone-8

I've have a strange error with Windows Phone Emulator.
Last time I used Visual Studio 2013 and everything worked fine.
Recently I try Visual Studio 2014 CTP parallel with VS2013 but now I cannot debug Windows Phone app with Emulator from VS2013.
The app deploy successful and I can run it from Emulator but when I hit F5 VS always show:
"The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
I've removed all Visual Studio 2014 CTP and Emulator 14 but it's not effect.
Could anyone here have similar error?
Please show me what problems is?
Thanks in advance.

The only time I have seen this error was when the app is already installed on device\Emulator, I had to remove the app , then hit F5 to work.

Related

Xamarin WinPhone 8 Project unavailable in Visual Studio 2015

I'm working on a Xamarin cross platform project. There is a Android and WinPhone 8 project yet. Everything worked fine. Now I moved to project to another PC. I'm working with Windows 8 and Visual Studio 2015 community version.
I installed the Windows Phone SDK 8 and tried to load the project in Visual Studio. The Android project is ok but on the WinPhone project there is written (unavailable) in the project explorer but the files are in the correct directory.
I also tried to install a Windows Phone 8 SDK update but I always get the message "It needs Visual Studio 2013 or Visual Studio 2012 Update 4 to install this". I also installed Visual Studio 2013 but still get the message.
Did I miss something to install? Already tried to Repair Visual Studio 2015 but it's still the same.
Ok I solved the problem. It's so ridiculous. The SDK and Visual Studio have to be the same language. Otherwise it will not work... well played Microsoft, well played...

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).

Visual Studio 2013 Express and Windows Store App does not start

I have a really weird issue that will make me crazy soon I think.
I've installed Visual Studio Express 2013 for Windows to test Windows Store Apps development. I want to use XAML and C#. So, I created a new project from the blank app template and just try to start it. Unfortunatelly it has never worked, the screen stay blocked on the splash screen of my app. No errors in Visual Studio, it just try to launch a Visual Studio Just in Time debbuger for an unhandled exception in .Net framework, but when I select the debugger nohthing happen. There's no trace of an exception in the EventViewer either...I tried local machine and simulator debug...no change !
Sometime i have this message in Visual Studio too but it's not all the time :
I tried everything I found on the internet :
Reset VS settings
Renew developper license
(...)
When I make a new Windows Store App with Javascript it works perfectly..it seems to be only a XAML/C# issue.
Any help would be much appreciated ! Thank you in advance !
My configuration :
Windows 8.1
Visual Studio Express 2013 for Windows Update 1
SSD drive, Intel i7, Lenovo IdeaPad
Ok I fixed it by re-installating all the system. I suppose there was something wrong with the .net Framework. Now it worked well !
EDIT :
I found that was messing the whole system. If I install SQL Server 2012 Express Edition it stop working. So...I switch to another DBMS !

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.