Then trying to install Windows Phone 8 SDK I get a freeze on startup window like this:
And one of my CPU cores is loaded to 100%, the installer freezes. The install log have this content after it freezes.
Any hints? I'm running Windows 8.1 Pro x64 on Intel Core 2 Quad processor (no SLAT).
After some investigation (thanks goes to Sysinternals Process Explorer), I've found that hang occurs in wpfgfx_v0300.dll module, which is, IIRC, a part of .NET Framework 3.0. So I went to "Programs and Components", then "Turn On/Off Windows Components" and turned off .NET Framework 3.5 (includes .NET 2.0 and 3.0) component. Reboot and voila, installer runs perfectly!
Related
My computer (32-bit) doesn't support Windows Phone emulator,which requires the 64-bit edition of windows 8.1 Pro (My computer windows 8.1 enterprise) and a computer that supports Hyper-V
what should i do to fixed it ??
Nothing you do will make the emulator run on 32bit Windows. Your only option is to install 64bit Windows.
To run emulator, follow these steps:
Check if your processor supports SLAT. Here is a guide to check for this feature using CoreInfo: How to Check if Your CPU Supports Second Level Address Translation
If your processor doesn't, get a new processor/PC.
Install Windows 8.1 64 bit (both Pro and Enterprise will work).
Or you can simply deploy your app in a physical device (get a cheap Lumia 4XX or 5XX) and test.
This is what exactly is did:
Installed windows phone 8.0 SDK.
Installed windows phone 8.1 SDK(By first installing VS 2013 professional edition and later installing update R2).
After that 8.1 application xap deployment is failing
Unable to deploy xap on windows 8.1 phone using 8.1 deployment tool “Error-package failed updates, dependency or conflict validation”
The phone i am using is 8.1 updated
Can you please let me know if iam missing something?
Thanks in advance
Using Windows Phone Application Deployment (8.1), I just ran into same issue. I had tried to install an appx package which was built for Store in Release Mode.
I then realised I was trying to install an ARM build onto the emulator which needs an x86 build to run.
So instead I deployed the ARM Release Mode .appx to a physical device so I could test what I needed to test.
Hope this helps!
Not a real answer but an un-explained work around. I've recently started developing against windows phone. I am working on a Windows 8.1 machine that was previously a Windows 8 machine, previously using VS 2012 to develop against WP 8 and now using VS 2013 to develop for WP 8.1.
At intervals I start to receive the same error as reported by the question, both when deploying our WP 8.1 app to an emulator and when trying to run or debug our WP 8.1 unit tests. So far it's been resolved each time by restarting VS 2013 (and the emulator). Restarting the emulator alone has sometimes been sufficient but not always. I have not checked whether it works against a concrete device. More significantly I have no idea why deployment breaks or stopping/starting resolves it...
Our application and unit tests are WP 8.1 silver light projects and use SQLite.
I have created a vmware of windows 8.1 in order to develop a wp8 app.
My pc specs :
i7 2670 (2.2)
8 gb ram
win 7 64
My VMware Player spec:
60 gb hdd
4 gb ram
I have installed in the VMware Player visual studio 2012 update 4, and all the wp stuff.
When i am trying to build my project i am getting this error:
emulator Cannot assign the specified number
of processor for virtual machine is out of range
I have searched on the internet but all links i have found refereed to parallels. Nothing helpful for VMware .
I have read this article. I have enabled hyper-v, but i am not sure if VMware can support hardware virtualization, which i think is needed.
My question are 2:
Is these any possible solution to this problem?
If i got a device and try to debug on device i suppose that i will not have any problem. Am i suppose well?
I will appreciate any help.
Thx for your time.
VMWare Player v6. You need to tick Virtualize Intel VT-x/EPT or AMD-V/RIV in virtual machine configuration for WP emulator running.
As per the comments on your question, I'll explain:
You can perform Windows Phone 8.x development on Windows 7 or later provided you have a physical device, however if you want to use the Windows Phone 8.x emulators then you need to have Hyper-V available, this is because the WP8 emulators run as Hyper-V virtual-machines, side-by-side with your main operating system.
Therefore, to use the WP8 emulators you must be running Windows 8 Pro, Windows 8 Enterprise or Windows Server 2012 (or later, e.g. Windows 8.1 Pro). The standard "Home edition" of Windows 8 does not include Hyper-V. Read up about Client Hyper-V on TechNet.
Hyper-V requires hardware virtualisation and, as an accelerated platform with hardware requirements, will not run within another virtualiser (this is in contrast to how you can run VirtualBox or VirtualPC under Hyper-V). You must be running Windows 8 Pro as your "root" operating system.
You actually also need to edit the .vmx file in VMWare Player in order for Hyper-V to be available to the Windows Phone emulator.
Give your VM >= 4GB RAM, 2+ processors, then open the .vmx file for the VM and add:
hypervisor.cpuid.v0 = “FALSE”
Then save, start the VM, and install Windows.
I'll also point out that this works flawlessly on my MacBook Pro Retina running a Hyper-V capable Windows distribution inside of Parallels and Visual Studio 2013 CE.
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
After installing Visual Studio 2012 express for Windows Phone 8 on my machine along with the SDK I notice that I do not have the option to Debug to a Windows Phone 8 Emulator ?
Any specific workaround or fixes to resolve this would be helpful?
My Bad, the PC I am using does not support Hardware Virtualization.
I installed multiple times and finally noticed this message at Launch time.
This Computer does not support hardware virtualization, which means Windows Phone Emulator 8.0 can't run on this PC.
If others run into this, here is what I found out.
My Intel Core 2 Duo T9550, don't support SLAT, which is needed to enable Hyper-V, which is again needed to run the WP8 emulator...sigh...
You can run this Coreinfo tool to see what your CPU supports. Follow the guidance here:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx#system
The Windows Phone 7.1 SDK emulator works fine on my machine btw.
The Windows Phone 8 Emulator runs in Hyper-V.
Hyper-V requires a processor that supports SLAT (Second Level Address Translation).
List of SLALT (EPT) Intel CPUs: http://ark.intel.com/Products/VirtualizationTechnology
So any Core2Duo does not Support Hyper-V :/
Here is a tool to test your CPU: http://slatstatuscheck.codeplex.com/