Can't deploy UWP app to any mobile emulator with latest Visual Studio and emulators - windows-phone-8

Relevant Visual Studio Version Information -
Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL
Microsoft .NET Framework Version 4.6.00079
Visual C# 2015 00322-20000-00000-AA127 Microsoft Visual C# 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA127 Windows Phone
SDK 8.0 - ENU
Microsoft Emulator version installed 10.0.26624
Although in the Device Selector in Visual Studio it says 10.0.1024.0.
If I create a new UWP (Windows Universal App) and try to deploy it to any mobile emulator is fails with
"There were deployment errors. Continue?"
Investigating the output window and error list there is absolutely nothing there.
I can deploy the application when the target is Local Machine.
Hyper V has no virtual machines registered.
Any ideas?

the information you get "Hyper V has no virtual machines registered" suggest that your Hyper-V is disabled.
Try to type in coreinfo-v.exe in your cmd to find out.
Make sure that your processor supports Virtualization otherwise there is nothing you can do.:(
If you follow this link you will find quite a lot of information how to enable Hyper-V in your computer.
It's an article for Windows phone emulator 8.1 but still quite useful.
https://msdn.microsoft.com/en-us/library/windows/apps/jj863509(v=vs.105).aspx#coreinfo

Related

Unable to build for windows phone with Titanium SDK 5.1

When I try to build for Windows Phone the sdk can't complete the build and dies with exit code 1, the only error I can see is part of the sdk for windows phone.
Default alloy app project has the same result of my app! Is anybody able to build for windows phone with Titanium ?
My environment:
Windows 10
TiSDK 5.1.1
Visual Studio Community 2015
NodeJS 0.12.7
Well, not sure we tried with SDK 5.1.1...
But we can build using SDK 5.2.0 - however, there are many things that don't work. The next version (5.3.x) is targeted against Windows Mobile. And by using the nightly build we could actually make ti.map work :-)
So I suggest you go down that route until 5.3.x is officially released (mid April, if I remember correctly).
Edited:
Just for completeness. We are running on:
Windows 10 professional
Node.js v. 0.12.7
Visual Studio 2015 Community edition
/John

Running Qt for WinRT apps in the Windows Phone emulator

I set up Visual Studio 2013 Community and Qt SDK 5.5.0 for WinRT. I built the app with the WinRT x86 (Emulator) toolchain.
Now I'd like to try the app in the Emulator but I can't find it. How can I do it?
I was using virtualized Windows. It's why Hyper-V was unavailable and the virtual machine the same.

Visual Studio 2013 can't open project of windows phone 8.0

I have the Windows Phone 8.1 SDK on my dev pc installed together with VS 2013 Community Update 4. I need to open some WP 8.0 projects, but I can't do that without having WP 8.0 SDK installed, give me that error:
I tryed to download the Windows Phone SDK 8.0 from Microsoft site but when I lunch the istaller give me that error:
How can I resolve that problem? If I go to the link didn't explain nothing.
Regards,
Roberto
The error message is self-explanatory, you need a 64bit OS (x64) but you are running a 32bit one (x86).
I think that the reason why this happens is because your VS2013 version is x86 and you downloaded the x64 version of WP8 SDK.
Try the following instead of downloading the SDK and manually installing it.
Right-Click on Start Button
Open Programs and Features.
Find Microsoft Visual Studio 2013.
Click on it and Click Change.
Select Modify.
Choose the Windows Phone 8.0 SDK from there and click Update.

Which Windows edition to use as a build server for Windows Phone 8 projects?

We plan to create virtual machine to serve as a build server for our Windows Phone 8 projects. According to the official requirements the WP8 SDK runs only on Windows 8. The question is is it possible to install the VS2012 and WP8 SDK also on Windows Server 2012, or should we just use the supported Windows 8?
Note we use Hyper-V for hosting virtual machines and also we don't need the WP8 emulator on that build server.
As a possible alternative (as I haven't tested your issue of building on WS 2012), why don't you use TFS online? It allows for 5 free projects (privately hosted in the cloud). See more here: http://tfs.visualstudio.com/
More on your issue:
I have tried running the WP8 SDK on Windows 7 without any luck (but it's not supported so I understand). Also, I have tried running the WP8 SDK from a Windows 8 Virtual Machine, but the emulator did not run as Hyper-V can't run on Hyper-V without pursuing this option: http://www.developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator
Hope this helps in some way, shape, or form.
On my workstation are installed VS2012, WP8 SDK. All works fine.

Is it possible to port a Windows RT app to a Windows Phone app?

Just recently released an application to the Windows Store, and I'm wondering if it is possible to "downgrade" it to Windows Phone 7.1 - until Windows Phone 8 will arrive.
The real problem is with the async stuff, I've found the "Async Targeting Pack", but it requires Visual Studio 2012; however VS2012 doesn't work with the Phone SDK 7.0, 7.1.
I'm not in the mood to install old and ugly Visual Studio 2010 on my brand new Windows 8 machine :)
Does anyone know a workaround?
Windows Phone 8 has arrived and, unfortunately, it does not allow you to compile applications for Windows Phone 7.1 if the code uses async/await. You can try to port the code to Windows Phone 8 which does support async/await out of the box.
If you still want to have a WP7.1 port of your application and still use the async/await feature, you have no option other than installing VS2010 express for WP7 + async ctp 3.
Although Async Targeting Pack for Visual Studio 2012 has arrived, you cannot target WP7 projects since WP7 is Silverlight 4, and targeting pack is for Silverlight 5.
UPDATE: There is a way to compile WP7 applications on Visual Studio 2012 Express for Windows Phone by using this nifty NuGet package. However, note that it is currently in prerelease version.
Well Windows Phone 8 suppose to launch tomorrow so why do you need to Downgrade your application to Windows Phone 7.1?
This article might hold's answer to your problem.
Today you may have also seen the online launch event for Visual Studio 2012. The Windows Phone SDK 8.0 is built on top of Visual Studio 2012, and will give you the ability to build applications and games that target both Windows Phone 8 as well as Windows Phone 7.5. Windows Phone SDK 7.1 can be installed side-by-side with Visual Studio 2012 and runs on Windows 8.