Visual Studio Windows Emulator cannot run. give "The interface is unknown" error - visual-studio-2010

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

Related

Xamarin - Can I develop Android apps on Windows 7 and Visual Studio 2013?

I've spent more than a day trying to install and get this up and running and it just doesn't seem to be working. I tried installing saying that I have Visual Studio.. and then when I run the app, I have no emulators. I try to install Android Emulator for Visual Studio and it says I need Windows 8.
I then again try to install Xamarin but this time i click that i do NOT have Visual Studio.. then it seems like it's download Visual Studio 2015 for me.. but then at the end, it seems like the install didn't go correctly and I don't even see an executable for VS2015 and I just don't know what's going on here.
It says here
The minimum operating system version is Windows 7. Xamarin.Forms Windows support requires Windows 8.1, and Xamarin.Forms UWP support requires Windows 10.
from https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/#windows
so what am I missing here? I'm going nuts
The minimum operating system version is Windows 7. But you need Windows 7 Service Pack 1. It need for VS15 - detail
You can not use on windows 7:
-Xamarin Forms
-Visual Studio emulator for android
-can't use shared code for windows store
I advise you to be updated to Windows 10.

Windows phone 10 UWP app Deployment error

I am facing the following error, while deploying the package to windows phone device or emulator.
Development specs: Windows 10 Pro Insider preview. Visual Studio Community edition.
Error: Verify the project is selected to be deployed in the solution configuration manager, or deploy it explictly by clicking on the deploy commands in the build menu.
Tried all the possible ways of solving. Can any one suggest a solution for this.
I have checked that you are using the Visual Studio Community RTM version from your Screenshot, but based on this article(https://blogs.windows.com/buildingapps/2015/06/29/release-dates-and-compatibility-visual-studio-2015-and-windows-10-sdk/), Windows 10 preview version will not work with the Visual Studio 2015 RTM version when creating the UWP app, so you will meet error, please try to upgrade your Windows 10 Pro Insider preview to Windows 10 RTM, besides the Windows 10 Pro Insider preview has a lot of bugs.

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.

Can not see windows phone 7 emulator in visual studio 2012

I can not see windows phone 7 emulator in visual studio 2012, I need to debug a wp7 project with visual studio 2012, but it seems that the windows phone 7 emulator doesn't attach on visual studio, anyone has ideas on it?
Did you install the Windows Phone SDK?
If yes, go to your project properties and make sure that the targeted output is the emulator.
You need to install the needed SDK for Visual Studio 2012.
Please find the link here
SDK 8.0 itself have the emulator for WP7 also.
Try reinstalling the SDK. I had simillar issue.

Windows Mobile & Windows Phone development on one box?

I've been developing for Windows Mobile/Pocket PC for a number of years without any issues. I recently started getting "Unable to start debugging" error messages after I installed Visual Studio 2010 and Windows Phone 7.1 SDK. The Visual Studio 2008 Remote tools would work, and Visual Studio could deploy the files, but "Start with Debugging" would not work while "Start without Debugging" would work.
I uninstalled the Windows Phone 7 SDK and am able to debug Windows Mobile applications again. Is there any way to allow the Windows Mobile 6.x and Windows Phone 7 SDKs to coexist on one computer?
With these Errors Double Check and make sure Service Pack one is installed for 2010.
Trevor, this issue has been reported as a bug with a known workaround by Jeffrey Walton on Microsoft Connect. The fix is summarized as follows:
Rename the directory C:\Program Files\Microsoft Visual Studio 10.0\SmartDevices\Debugger\target\wce400\armv4i to armv4i_temp
Copy the directory C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\Debugger\target\wce400\armv4i inside the Visual Studio 2010 path.
Reference: VS 2010 Windows Phone 7 Developer Tools breaks existing VS 2008 Windows Mobile Developer Tools
Visual Studio 2010 can not build (much less debug) a Windows Mobile application. It can develop for Windows Phone 7 (apparently - I certainly do not develop for it).
To develop (build/debug) for Windows Mobile, drop back to Visual Studio 2008. That's the last version of Visual Studio that offered support for Windows Mobile.
Unfortunate.
Right edm2.exe and other remote debugger Arm4i files versions must be deployed to device. Rename temporarily all folders containing edm3.exe and try VS2008 debug. If works, search edm*.exe in registry and repair related keys to VS2008only state.

Resources