Visual Studio 2013 add windows phone emulator - visual-studio-2013

I am using Visual Studio 2013 Professional on Windows 8.1. I created a custom windows phone virtual machine in Hyper-V. However, when I opened my application in Visual Studio, it doesn't list my virtual machine. I have installed Windows Phone 8.1 Update and Emulators. The custom virtual machine is based off one of those emulators. The predefined Phone emulators are showing up in Visual Studio. However, my custom virtual machine is not showing up. So, how do I modify Visual Studio to detect my windows phone virtual machine and run the application on it ?
Another alternative that I am exploring is to set a specific checkpoint in Hyper-V as the default image for a Windows Phone 8.1 emulator image. The following MSDN link says that we can set a checkpoint as the default image.
https://msdn.microsoft.com/en-us/library/windows/apps/dn632391.aspx#BKMK_checkpoints
However, I do not see that window anywhere in Hyper-V. Can somebody please let me know if I need to download any additional software ?

Assuming you want to run your app on your phone, before that you need to install Windows Phone 8.1 Update and Emulators from,
https://www.microsoft.com/en-us/download/details.aspx?id=43719

The referenced checkpoint window is in the emulator, not in hyper-v itself.
Run the emulator, expand the tools menu (the >> icon at the bottom of the tools bar) and you should find the checkpoint tab there.

Related

Windows SDK installation Visual Studio Community 2015

When I try to install the Windows Phone Template Pack on Visual Studio Community 2015, the following error is obtained.
What is the reason? Where can I check the error log from?
Couple of issues:
The Windows SDK link you provided (http://www.microsoft.com/en-in/download/details.aspx?id=8442) is for Windows 7. It is not compatible with Visual Studio 2015 for Windows Phone development.
I think this error you're seeing with the Windows Phone Template Pack (HRESULT: 0x80070057) is because the Windows and Windows Phone 8.1 Tools are not installed on your computer along with Visual Studio Community 2015.
I am able to reproduce this only when the Windows and Windows Phone 8.1 Tools are not installed.
If I click skip, then I see the error dialog you included above.
To resolve this issue,
Go into the Control Panel
Open up Add/Remove Programs (or Programs & Features depending on your OS version)
Select Visual Studio Community 2015, then click Change
In VS setup, click Modify
Make sure that the "Tools and Windows SDKs" feature under "Windows 8.1 and Windows Phone 8.0/8.1 Tools" is checked.
If you're running Windows 8.0/8.1/10 x64 Professional or higher with a Hyper-V capable computer and then you should also be able to install the Windows Phone 8.1 emulators.
-Paul Chapman [MSFT]
Found this answer today, but it no longer works, or doesn't work if the host OS is Windows 7 Pro. I just installed Windows 7 Pro (plus all updates) and then VS2015 (plus all of ITS updates) on an otherwise CLEAN computer. NO SDK was installed. My options for modify look like this:
The Windows 8.1...Tools option is TOTALLY MISSING. The Windows 10.0 SDK is offered under the Universal Windows...Tools option, but that doesn't help me with Windows 7 targeted development.
Also, FWIW, the Windows 8.1 install tool that Microsoft is offering for download just gets an APPCRASH every time I try to use it (and yes, I've downloaded it several times, even to different machines, but always with the same result.)
So for me, I can either stick with Visual Studio 2010 or suffer the user interface abomination that is/was Visual Studio 2012 (not gonna happen). Sigh.

Install VM Virtual Box as Windows Phone Emulator

I have VM Virtual Box running a Windows Phone emulator. How do I get Visual Studio 2013 Community Edition to use it to test a Windows Phone app?
Apparently one is supposed to use the Device Emulator Manager to register emulators and it ought to be accessible from the Tools menu but its not there.

Remote debugging Tools is not working in Windows 8.1 Surface (ARM)

I develop Windows 8.1 Store apps using VisualStudio 2013 preview. Hence i have to test my app in the Windows Surface 8.1 (ARM) device to debug. For the remote debugging i installed the VisualStudio 2013 Remote tools for ARM device.
When I try to run the Remote tools exe. I get App cant run in this PC issue in my Windows 8.1 Surface RT. Could you please help me in this ?
My guess is that you are trying to run the x86/x64 remote debug tools on the ARM tablet because there is no VS2013 remote debugger for ARM.
I also encountered the same issue - this is what i did: I installed the Visual Studio Remote Debugging Tools 2013 (if you have installed already, uninstall it, and also uninstall the one for 2012 too).
After installing it, go to this path in your Surface:
C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\Remote Debugger\arm
Inside there should be an executable named msvsmon.exe; run it.
When you start the remote debugger for the first time, the dialog is called Remote Debugging Configuration, so just click on "Configure Remote Debugging" button at the bottom.
Pin the msvsmon.exe to the start screen by right-clicking (or using touch, touch and hold until the menu options appear).
This works for me and now im able to deploy into my Surface RT under Windows 8.1, from VS 2013.

Visual Studio Windows Emulator cannot run. give "The interface is unknown" error

Can any Windows Phone Application developer help?
When i run my project, emulator starts and shut down, and the error The interface is unknown is displayed in error log in Visual Studio.
It was running fine the other day.
What should i do to get rid of this error?
If you are using Visual Studio 2010, the window phone emulator for widow phone 7 series suites your PC. if you are experiencing problems with it, simply download Visual studio 2010 service pack 1 and re-install the tools. you can also update your .net frameworks from windows update.
if you are using Visual studio 2012, then you must be using the window phone 8 emulator which runs on only 64 bit and window 8 pro (or advanced) machines. it works on the visual machine. so you can re-install your Hyper V drivers or re-install the SDK
i hope this help fix the problem permanently.
Identified what the problem was :-)
"Windows Phone Emulator-512" is compatible with only Visual Studio 2012; it is not backward compatible with earlier versions of Visual Studio. So, now i used "Windows Phone Emulator-256", it's working fine :-)
Thanks to: https://msdn.microsoft.com/library/windows/apps/ff402563(v=vs.105).aspx

Windows Phone 7 Dev Tools: cannot see menu for device emulator

I have installed the dev tools. I have both visual studio 2010 and Visual Studio C# Express. After install it launched VStudio, I create a windows phone app, when running it says "Error 1 Zune software is not installed. Install the latest version of Zune software."
I saw on the internet that I had to connect to emulator in tools menu except I don't have such menu. So is there something I missed ?
It sounds like you're trying to deploy to a device. In Visual Studio, next to the debug button (green arrow), there's a drop down box. Set that to Windows Phone 7 Emulator and then try running the app. This should launch the emulator instead of trying to deploy to an actual device.

Resources