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.
Related
What is the difference between those project platforms in Visual Studio ? Which one should I use for Windows Phone app? I read a few articles but it go me just more confused.
Currently I am using Win32 for emulator, and ARM for the device.
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
I download the Windows 8.1 / IE 11 VM from modern.ie, start it in VMPlayer and want to install the Visual Studio 2013 Preview. The installer does not offer to optionally also install the Windows Phone SDK 8.
I thought the reason might be the Phone Emulators need Hyper-V.
I changed the VM Operating system type from Windows 8 to Hyper-v and checked the Box "Virtualize Intel ..." in the Processor Settings.
When I call systeminfo on the command line in the Virtual Windows 8.1 it reads:
VM Monitor Mode Extensions: Yes
Virtualizaion Enabled in Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
Is it possible to run the Phone SDK in a virtual Windows 8.1?
I have no idea what the installer is checking before offering (or not) to install the Phone SDK. That Virtualization might be the issue is only a guess.
Sort of. You can install the SDK separately if you don't install the emulator, but you cannot run the emulator because you're already in a Hyper-V VM, Inception VMs are not allowed. Hopefully MS will let you connect from VS to a sibling VM someday.
It turned out, the problem was not the virtualization.
The VM I started to work with was a 32 bit Installation of Windows 8.1 Preview. Since the Stand alone Phone SDK could only be installed on an 64 bit system, I setup an own VM with the Windows 8.1 64 bit preview and tried again. When I installed the VS 2013 ultimate preview it was possible to check the Phone SDK.
Hyper-V was activated when the VS installation finished.
The VM's operating system is set to Windows 8 64 bit
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.
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.