i have a windows 8.1 universal application.
Now i want to debug the Windows application in my simulator.
Whenever i debug the windows application in my simulator, it also opens the phone emulator. Emulator deployment fails but simulator works fine.
Is it a correct behaviour ?
cheers,
Saurav
Right click on a solution -> select Properties then navigate to Common properties -> Startup project and make sure Single startup project option selected.
I had to disable Hyper-V from Windows Featur
This link helps http://blogs.technet.com/b/canitpro/archive/2014/03/11/step-by-step-enabling-hyper-v-for-use-on-windows-8-1.aspx
Related
I have a console application that I would like to port to Windows Phone 8. Is it possible to run a console mode on WP8 ?
I saw the MS-DOS mobile app but I wonder if it is just a simulated console mode.
I also saw this question but it doesn't answer my question.
There is nothing like a text mode for Windows Phone. You have to simulate it yourself.
I'm facing a weird problem. When I'm trying to debug my app on Windows Phone Emulator I'm getting this error:
Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.
However Emulator is launched, the app is deployed correctly and I'm able to debug it without any problems. I'm writing this question because this error is a bit annoying. I'm using the same settings on another machine and everything works fine there.
I'm using Visual Studio 2013 Ultimate / Win 8.1 with settings like below:
I found a problem. I have 3 Windows Phone projects, one of them (which was in fact not marked as a startup one) was targeting the physical device, and that caused the problem. Problem was solved by switching Target device in project properties -> Debug to emulator.
I have a problem , I can't fix this.
I deploy project with device (lumia 520) , but visual push notification: windows phone 8 phone was detected. But , my phone is really plug in my computer , and i can access phone's folder.
My phone didn't lockscreen.
Phone's driver has installed.
You can see in the picture:
http://i.upanh.com/rchnbi
I was restarted my phone for 10 times , but it's still connected.
Help me resolve this problem , thanks
Have you ever tried to deploy your app to an Windows Phone Emulator?
If your app succesfully deploying to Emulator, I can say your connection of your phone is having problem. But, if you can not deploy your app neither phone nor emulator, it could be about VS2012 or SDK.
So, I sugges you to remove your phone from your computer (Open Device Manager and remove your app (dont forget to unplug it). And then reconnect your phone again.
So, try these and please tell me the results. I was had some problems like yours.
And also, maybe you can check your device's registration status (developer registration) If yes, please try unregister and register it againg for development (http://prntscr.com/2fehv1)
Do a soft reset to your device and restart VS2012 again to solve this problem. (To do this: press and hold the power button and volume down button for about 10 seconds)
When I try to run the app via Visual Studio 2012 Express for Windows Phone I get the error message:
The application could not be launched for debugging. Ensure that the
target device screen is unlocked and that the application is installed
It worked 10 minutes ago, until I updated with OS version
8.0.10328.78
This was resolved by deploying the solution to the phone first by right-clicking the solution and selecting "Deploy Solution", and then running the app to debug.
I don't know why it's required to deploy the solution first. This wasn't required before the update when I ran the app.
Try either of the following:
1) Developer unlock the phone once more
2) Uninstall your application from the phone by hand, and build it again
I installed Windows 8.1 RTM and installed VS2012 had a little problem while installing windows phone 8 sdk but i guess it is resolved now but still i have a weird problem.
Even i select "device" as the launch target when clicked the run button VS launches the app on the emulator not the phone. Surprisingly if i right click the project on solution explorer and select debug it this time launched app on the device.
Is there anybody faced with this kind of problem? I dont want to install everthing from scratch :)
Ok it was my fault, since the project build platform was x86 visual studio could not deploy the app to the device and hence launching the emulator. When i changed the build platform to Any CPU now it deploys my app to the device without any problem.