How can I test my UWP app on Windows 10 Mobile when my dev OS is Windows 10 Home? - visual-studio

I want you to think creatively on this question.
I'm running Windows 10 Home edition, which as you know do not have Hyper-V and thus cannot run the Windows Phone 10 Emulator. I don't have a physical Windows 10 phone. How can I, for the minimum cost, test and preferrably debug my UWP app on a Windows Phone 10 emulator?
I tried setting up Windows 2017 Server + Visual Studio 2017 Community on an Amazon EC2 instance, and after a couple of hour of configuring I'm met with
Editing this project is not supported on a server operating system. Please use a Windows 10 client to continue development of your Universal Windows app project.
..so that was a dead end. Other suggestions?

You will have to upgrade to Windows 10 Pro (or Enterprise) to have access to Hyper-V and be able to run the Windows Phone 10 emulator (or get an actual phone device). In my opinion, upgrading your Home license to Pro will probably be the cheapest solution long term anyway.
A copy of Windows 10 Home will run $119, while Windows 10 Pro will
cost $199. For those who wish to upgrade from the Home edition to the
Pro edition, a Windows 10 Pro Pack will cost $99.
Source: https://www.cnet.com/news/microsoft-prices-single-windows-10-licenses-at-119-for-home-199-for-pro/
You can NOT run a Windows Phone 10 emulator on Amazon/Azure since they use virtualized machines and they don't provide nested virtualization. You can make a Windows 10 VM on Azure for developer purposes, but you won't be able to run the phone emulator.

Related

Windows Mobile 5 Modern Emulator

I need to bring back from the dead an app desined to Windows Mobile 5.
I tried to find an emulator but everything seems to be dead already.
Is there any emulator that can run Windows Mobile 5 on Windows 10 or Android?
Windows Device emulator is also part of VS 2003 and 2008. If you have a msdn developer subscription, you can still download and install these.
At my time as technical support engineer I had running the device emulator stand alone edition as well as VS 2008 running with windows 10. You can even get active sync up and running.
Contact me directly if you need more details.
Regards
Josef

Can Windows 8 build Windows 10 IoT Core Application?

Am I able to build a Windows 10 IoT Core Application in Visual Studio 2015 on my Windows 8 machine?
The following page made me think that I have to have a Windows 10 machine to build Windows 10 IoT Core apps. Didn't know if anyone has used Windows 8 or not...
https://developer.microsoft.com/en-us/windows/iot/Docs/GetStarted/noobs/GetStartedStep1.htm
Windows 10 IoT core support two types of app. UWP app and non-UWP app.
UWP are primary app type of Windows 10 IoT core. It is a common app
platform across all version of Windows 10, including Windows 10 IoT
Core.
Both of them need Windows 10.
So, the answer is no. Because some new features introduced in Windows 10 are not supported in Windows 8. For further clarifications, reference the following links:
Windows 8 apps vs UWP.
Universal Apps on Windows 8/8.1.

Can I develop Windows 10 App on a Windows 8.1 device?

I would like to follow the guide (http://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm) to develop a Windows 10 app, but it says it needs the Windows 10 Insider Preview as the requirements. However, I cannot download it right now as it states that:
We’re very close to the public release of Windows 10 so we’re not onboarding any new PCs to the Windows Insider Program just now.
Can I now have any ways to develop a Windows 10 App? I want to finish making it so that it can be out once Windows 10 is released. Thank you!
You can develop Windows 10 apps with Windows 8.1,too. You need Visual Studio 2015 to and the latest Windows SDK. In the future you will be able to develop from Windows 7, too. (Both has been announced at the build conference in San Francisco.)
There will be some limitations - you can't deploy your Win10 app to your local system, as you are running W8.1 locally. (But you could use a remote or virtual machine).
There will also be some limitations around the XAML designer.
The easiest way is probably to start developing on a remote machine in the cloud. Here's a guide how to set things up: https://github.com/DanielMeixner/DevDreamMachine
As we are getting closer to release of VS2015 and W10, please check out this post, too. There are some limitations around app development between release of VS2015 and release of Windows which might affect you.
http://blogs.windows.com/buildingapps/2015/06/29/release-dates-and-compatibility-visual-studio-2015-and-windows-10-sdk/

Windows 8.1 dont have hyper-v - cant use Windows Phone Emulator

Lately i wanted to get into Windows Phone 8 development and i installed Visual Studio 2013 + Windows Phone SDK 8 + Visual Studio 2013 Latest update.
My system parameters are:
- 8gb ram
- Windows 8.1 64bit system
- Intel i5
The moment i try to run a Windows Phone project a dialog appears and it says:
Title - " Cant start the windows phone emulator"
Subtitle - "The Windows Phone Emulator requires Hyper-V.Your PC is missing the following pre-requisites required to run Hyper-V:
-Windows 8 Professional(64 bit)"
After i saw that i checked for how to upgrade Normal Windows 8.1 to Windows 8.1 Professional.
With no luck i tried to find out more about to install Hyper-V with the BIOS configuration with no luck as well.
Usually i develop on Android with Eclipse(with the Emulator) so i can't understand the reason why a emulator of Windows Phone can't run on my system.
P.S
I dont have Hyper-V feature in the Windows Feature list to Turn off/on
Thanks heads up for each answer! :)
The error is saying you need Windows 8.1 x64 Pro or Enterprise to be able to install Hyper-V. You can still develop phone apps in the edition of Windows 8.1 you have but you must debug on on a windows phone the emulator will not be available
System Control -> Programms and Functions -> "Activate or deactivate Windows Features" (in the left bar)
(freely translated from my german win8.1)
There you can activate Hyper-V if it is inside your Windows-version. Then try to restart VS2013 and start the emulator. I had to "deactivate" my Hyper-V and activate it again for some reason. Then it worked.
Good Luck! :)
The Windows Phone 8 emulator is a special Hyper-V image. It cannot run on other virtualization technology.
Without the emulator, the alternative option would be to use an actual device.
you can use a virtual machine to deploy windows phone 8 OS. Your System processor does not support hyper-v so, you can install win phone 8 on a virtual machine. you would found this link helpful.. check it out: http://www.youtube.com/watch?v=WANk_XaovqM
Step which i followed; ( I already have windows 8.1 64-bit machine )
Enabled 'Virtualization / Hardware assisted virtualization' in bios. [ https://www.google.co.in/search?q=enable+virtualization+in+bios&oq=enable+virtual&aqs=chrome.1.69i57j0l5.5117j0j7&sourceid=chrome&es_sm=93&ie=UTF-8 ].
Hyper-V option came in 'windows features' after I did this step.
Later, I Became a member of Hyper-V admin group.

Didn't find windows phone 8 emulator

I installed Visual Studio 2012 and Windows Phone 8 SDK successfully. I created a new phone app and trying to run but it doesn't show me any emulators in Visual Studio 2012.
Make sure that your PC satisfies the system requirements for running the emulator:
Windows 8 Pro edition or greater
A processor that supports Second
Level Address Translation (SLAT)
If your computer meets the hardware and operating system requirements,
but does not meet the requirements for the Windows Phone 8 Emulator,
the Windows Phone SDK 8.0 will install and run. However, the Windows
Phone 8 Emulator will not function and you will not be able to deploy
or test apps on the Windows Phone 8 Emulator.
Source
Pretty much #Olivier's answer. Also, make sure you have Hyper-V enabled on your computer.
In lieu of this, There's a very nice tool on codeplex that pretty much checks if your computer is able to start hyper-v and the windows phone emulator.
If that passes, you'll want to follow this article in order to get hyper-v set up. Specifically the two enabling sections.
There was a post a little while back on what is required specifically here on stack overflow. It can be found here

Resources