WP8 emulator not running on windows 10 - c#

I'm trying to build an application for windows phone 8 on visual studio 2012 using windows 10 pro - 64-bit.
WP8 SDK with last update and VS2012 update 4 have been installed.
An error appear when i run app:
also an error appear on console: 0x80131500
I checked the hyper-v, and nothing relate to WP8 emulator was there!:

Please follow these steps to make sure the Hyper V service is installed and turn on.
How to Setup and Use Hyper-V in Windows 10 for OS Virtualization
Pay attention when it comes to enabling the service with this picture.
I'm pretty sure a computer reboot is required. If that still doesn't work for you then you have something conflicting with HYPER-V or your hardware does not support it.
I know VM Ware does not play nicely with HYPER-V turn on and vice versa, so you might want to build a separate computer for your Windows Phone development like I did, if you run VM Ware Player or Workstation.

Recently i encounter the same problem, it turns out that you have to install windows phone 8.1 sdk in order to run windows phone 8 app unter windows 10. Surprised ?... me neither :D

In the last updates of Windows 10, is possible that MS pushed one to prevent using the Windows Phone 8.0 SDK (the one that uses VS2012). My recommendation: create a Virtual Machine in VMware with Windows 8 or Windows 8.1 and install the SDK.

Related

Developing Window Store Apps in Visual Studio 2013 on Window 7 64-bit without emulator

This is going to be quite a long question but please bear with me till the end. Before going into the details, below are my PC environments:
Windows 7 Professional x64
Visual Studio Community 2013 Update 4
On top of that, I checked my PC's processor does support virtualization using IntelĀ® Processor Identification Utility.
I also installed all the required SKD 8.1 components required to develop Windows phone 8.1 apps as shown in the picture below.
Now I clearly understands from the visual studio website requirements:-
Windows Phone 8.0 development requires Windows 8.1 (x64) or higher
Windows Phone 8.1 development requires Windows 8.1 (x86) or higher
For the Windows Phone emulators, Windows 8.1 (x64) Professional
edition or higher, and a processor that supports Client Hyper-V and
Second Level Address Translation (SLAT)
But from this SO Q&A it seems like developing windows 8.1 phone apps is still possible. However when I try to open an existing windows phone 8.1 project I got the error as shown in the picture below:
On top of that, in my Add New Project window there are no Windows Store Apps templates showing up.
I later found out from this msdn documentation that the RequiredPlatformVersion Element of the Visual Studio project template is filtering out the templates. However I tried to change the Blank Windows Phone project template element's value to 8 as specified in the documentation and also a few others value smaller than 6.3.0 but still fail to show the template.
Then I tried to install an extension called Windows Phone Template Pack which then adds two window phone project templates in my Add New Project window as shown below.
I created an empty project using that template and surprisingly I am able to open the windows phone 8.1 project as shown in the picture below.
That got me thinking that it should be possible to develop windows phone 8.1 apps but not emulating it but I am out of ideas on how to work around it now. I even tried looking at the denv.exe.config file to try my luck but there's nothing of interest there either.
Is there anyone that successfully build a Windows Phone 8.1 apps in an similar PC environment? A workaround will be sufficient.
Sorry to say this but Windows 8.1 is a requirement for developing as usually emulators on being initialized tries to load the OS into the device like the basic theme etc options.
1) You can try to connect your Windows phone to your PC and select Deploy to Device. (Though it might work and you will be able to debug yet still you would face a problem when you try to create a release build package to be uploaded on windows store. Also even though the fixes might work for short period but with Windows 10 about to be released you would be stuck with waiting for a fix to develop apps for that.)
2) You can try installing windows 8.1 inside VMWARE and deploy it.

Does IBM MobileFirst support native C#/Xaml apps for windows phone 8.1/windows 8.1?

To further clarify the title.
I don't mean HTML5 hybrid apps or apps that have been developed for windows 8/ windows phone 8 and run on windows 8.1/ windows phone 8.1
I would like to know if IBM MobileFirst supports native apps written for windows 8.1 and/or windows phone 8.1 .
For example a universal app.
From what I have read and the tutorials I've seen there is no way to generate dlls for windows 8.1 and windows phone 8.1. Am I missing something?
Have you taken a look at the IBM MobileFirst Platform Developer Center or the IBM MobileFirst Platform Knowledge Center? you'll find your answers there...
Windows Phone 8 - There are tutorials for Native Windows Phone 8.x development (more to come in the future).
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-native-wp8-development-6-3/
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_developing_native_apps_wp8.html
Windows 8 - Native Windows 8 support is also available (but not yet mentioned in the dev center)
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/dev/c_developing_native_apps_w8.html
Search the Knowledge Center for more information...
#corus I was able to reproduce your problem consistently! What fixed was the changing the build action of the wlclient.properties file to Content.
Go to solution explorer
Right click on wlclient.properties and select "Properties"
Set the "Build action" property to "Content" (this is missing in the knowledge center)
Also set the "Copy to output directory" to "always"
This should fix the crash issue.
#corcus Part 1 - Currently upto IBM MF 6.3 - there is no formal support in the product UI but we have been qualifying Visual Studio 2013 in the meanwhile (https://www.ibm.com/developerworks/community/blogs/worklightsmobileplayground/entry/ibm_worklight_and_microsoft_visual_studio_2013?lang=en)
Part 2 - our current WindowsPhone8 environment is Silverlight based. What you can try doing is Create a native app with Windows8 environment (this will create a C# app). Open it in VS2013 and then add a Windows Phone 8.1 project to it. Then add the DLL references to the phone project and copy the assets to the Phone Project (or Shared Project) and try running on the Win 8.1 phone. This should work (I have tried Hybrid and it works, but not native - hence not saying conclusively)

Where has my Windows Phone emulators gone in VS 2013 Update 2?

I have Visual Studio 2013 Update 2 installed, when I go and create a universal app I have the ability to run the Window 8 version either on the local machine or a simulator. But with the Windows Phone version I can only run it on a physical device - no emulators/simulaotrs are listed as options.
Is there something I'm missing?
You are running on a Virtual Machine. You cannot run Hyper-V on a virtual machine so your only option will be a Physical Device to test your work on. You could also move to a physical machine that meets the requirements for running the emulator listed in the Phone SDK requirements here.
"For the Windows Phone emulators, Windows 8.1 (x64) Professional edition or higher, and a processor that supports Client Hyper-V and Second Level Address Translation (SLAT)" From: http://www.visualstudio.com/products/visual-studio-professional-with-msdn-vs#Fragment_SystemRequirements
I'd suggest you to upgrade Visual Studio to the latest update which is 3:
http://www.microsoft.com/en-us/download/details.aspx?id=43721
Also there have been a few emulator updates as well. I guess it won't hurt to install them:
https://dev.windows.com/en-us/develop/download-phone-sdk
I think updating everything to the latest version is the way to go here. If nothing helps, try reinstalling the Windows Phone SDK. I did that the last time my emulators went missing..

How to make Windows Phone 8 Emulator work with Windows 8.1?

I was using Windows 8 Pro (64 bit) with VS 2012 Update 3 to develop Windows 8 Phone Application with the Emulator and Device Debugging features.
After I installed Windows 8.1 Pro, I am unable to use the Emulator anymore.
The Compatibility Error window pops up and takes me to a help page. If I continue then I get one error code 0x80131500
The KB Article says this problem affects Windows 8.1 Preview and the solution is to install VS2012 Update 3 which I already have.
Any hints?
I had the same problem the other day. I solved it by installing Visual Studio 2012 update 4

Is it possible to develop Windows Phone 7 apps without a Windows machine?

I don't have a Windows machine, just a Mac and a Linux box. Windows it pretty expensive, and I don't want to pirate it either.
Is it possible to develop Windows Phone 7 apps in Mac OS X or Linux? Is Visual Studio required?
If you want an affordable and legal copy of Windows 7 Home Premium, a system builder license is available for $99.
There are countless reports of this running great in virtualization software on Mac OS X and Linux.
I personally ran Windows 7 in VirtualBox on Ubuntu 10.10 and it was a great experience. Definitely a practical environment to develop Windows applications in.
Once you've got Windows 7, all the development tools you need (including the phone emulator) are free from Microsoft.
No.
That being said maybe it is possible to run Visual Studio for Windows Phone (which is free) on Linux via Wine but I doubt it.
You can do some Silverlight development on Linux and learn some of the XAML and C# concepts and apply them later on Windows Phone but you won't be able to write a real WP app without a Windows machine.
Is Visual Studio required?
Your profile says you're 16 years old. You more than likely qualify for Microsoft's DreamSpark program. Even homeschooled kids qualify. This means you have legal free access to Visual Studio 2010 Professional.
I haven't tried this myself, but I think you can do this using PhoneGap and their PhoneGap Build service.
However I imagine its a pretty painful debug cycle without the emulator (which I understand you need Windows for).

Categories