Unable to create the virtual machine

2019-01-07 10:14发布

I was so happy today that I have been finally able to install Windows Phone 8 SDK and try it a bit. I installed fresh new installation of Windows 8 Pro into my virtual machine (I am running if from Parallels) and then installed Windows Phone 8 SDK.

Everything went smooth, Visual Studio Express is installed and running, but when I created new project and tried to deploy it, VS fails with really weird message.

First of all, message box informing that "The Windows Phone Emulator wasn't able to create the virtual machine: Generic failure" appears. Really informing, really professional - generic error, that's really good. Then the information that deployment failed appears (thanks a lot for keeping me informed about that, I didn't noticed that it crashed completely). And then in the Error List, there is an information about "Invalid pointer" - even better. No clue at all about what failed or what's wrong.

Can anybody help me with that? There is nothing on the internet about this topic so far and I don't know where the problem is. I scanned the Windows events and logs, but there is nothing (probably I haven't been searching properly, so please guide me through that if you can).

Anybody can help?

12条回答
Fickle 薄情
2楼-- · 2019-01-07 10:33

This works for me

Set RAM to 4g Set at least 2 cores

add to vmx file.

vhv.enable = "TRUE"

hypervisor.cpuid.v0="FALSE"

Goot article http://social.msdn.microsoft.com/Forums/en-US/wptools/thread/ed72010c-321c-4667-97b2-3ff1540e7f87/

查看更多
老娘就宠你
3楼-- · 2019-01-07 10:33

Solved the problem by uninstalling an older VPN client from the machine. It turns out some VPN clients might have compatibility issues with Windows 8. After uninstalling VPN client I was able to run the emulator without issues (of course after making sure Hyper-V was installed and enabled on the machine)

查看更多
我想做一个坏孩纸
4楼-- · 2019-01-07 10:35

Under Parallels Desktop 8 follow this guide: http://kb.parallels.com/en/115211

查看更多
一纸荒年 Trace。
5楼-- · 2019-01-07 10:36

I ran into the same issue and I fixed it by enabling Hypervisor applications in this virtual machine and adding the following line to the .vmx file:

hypervisor.cpuid.v0 = "FALSE"

This got the emulator working just fine. I found this answer here.

Hope this helps.

查看更多
唯我独甜
6楼-- · 2019-01-07 10:37

I posted the same question on Parallels forum.

Reply:

The emulator is actually a virtual machine, so we are talking about a vm inside a vm, this requires support for nested Hyper-V, which afaik is planned but not implemented yet, also VMWare Fusion already supports this, if you are so desperate.

————-

See Parallels forum post: http://forum.parallels.com/showthread.php?p=646448#post646448

查看更多
叛逆
7楼-- · 2019-01-07 10:39

For me the solution adding line:

hypervisor.cpuid.v0 = "FALSE"

I use VMware Player and added the line (hypervisor.cpuid.v0 = "FALSE")in the .vmx file. My virtual machine with Windows 8 Pro runs the emulator for Windows Phone 8 perfectly.

查看更多
登录 后发表回答