Page 1 of 2 1 2 LastLast
Results 1 to 20 of 35

Thread: How to enable Windows Phone 8 emulator in Visual Studio 2012

  1. #1

    Default How to enable Windows Phone 8 emulator in Visual Studio 2012

    Hi guys,

    I'm running parallels 8 on a Macbook Pro Retina with Windows 8.

    I've install the SDK for WP8 development and obviously the emulator doesn't work.

    However, some of my co-workers have been able to get this to work on VMWare using the changes outlined below.

    Is there anyway to do something similar with parallels?


    Before running the Windows 8 VM, a couple of configuration changes are
    needed.
    This is really the new finding, at leads to me:

    All the credit goes to a person called Juha and his posting at:
    http://communities.vmware.com/thread/423744?tstart=0

    1) Added (or cheeked they are present) to .vmx file these rows:
    hypervisor.cpuid.v0 = "FALSE"
    mce.enable = "TRUE"
    vhv.enable = "TRUE"
    2) Settings -> CPU and memory -> Advanced: checked "Enable hypervisor
    applications in this virtual machine"
    3) Settings -> CPU and memory: make sure 2 Cores (or more?) are
    assigned to the Virutla machine
    4) Settings -> Advanced: Preferred virtualizationn engine: Intel VT-x
    with EPT
    After restarting Win 8 x64 VM, the HyperV system (and e.g. WIndows 8
    Phone SKD debugging / Windows Phone Emulation) works perfectly.



  2. #2
    Bit Poster
    Join Date
    Nov 2012
    Posts
    2

    Default

    Hi ,

    I had the same requirement.
    Will this be patched in PD8 in another way ?

    Thanks !!



  3. #3
    Bit Poster
    Join Date
    Nov 2012
    Posts
    1

    Default Same here

    I've also get a Retina Mac Book Pro. Would love to see this added as feature.



  4. #4

    Default

    I have a late 2010 MBP (Core i5) with Parallels Desktop 7, guest OS Win 8 Pro. The Windows 8 Phone Emulator requires Hyper-V support (which is not supported by Parallels).

    So I tried (evaluation ver.) VMW Fusion 5 and modified the config to support hyper-v (similar to described above, Google search will return more info). I can confirm that the Win 8 Phone SDK works on Fusion. The only change I did to the .vmx file is add/modify these (along with 2 core support):

    hypervisor.cpuid.v0 = "FALSE"
    vhv.enable = "TRUE"

    Might have to switch to VM from PDT.



  5. #5
    Bit Poster
    Join Date
    Nov 2012
    Posts
    1

    Default

    Can anyone from the Parallels team shed some light on this?



  6. #6

    Default I need this too.

    I'm having the same issue. Hyperv enables but when the wp emulator tries to start I get a "generic" failure. I guess its no surprise a virtual machine doesn't run in a virtual machine.

    Is there some way parallels can get this working?


    For those of you that HAVE to have this. You can boot camp windows 8 and hyper v will work. I found running boot camp through parallels and directly when I needed the emulator to be pretty good, but not ideal obviously. also without official bootcamp drivers for windows 8 its a bit of a pain.



  7. #7

    Default

    VMWare fusion can do this with a little hackery, but is SO MUCH SLOWER!



  8. #8

    Default

    Ah, thanks Stephen. I was considering switching to VMware.

    I was using boot camp at work for a while because it seemed so much faster and as a .net developer I seldom use anything outside of windows anyway. I was happy with the speed in Parallels 8 so I've been using that.

    Pretty bummed though that I have to use my phone for all of my debugging, much slower than using the emulator for the majority. :(



  9. #9
    Parallels Developers juzci's Avatar
    Join Date
    Jun 2011
    Posts
    301

    Default

    Hi,
    please recheck on build 18345: http://kb.parallels.com/en/115211

    Regards,
    Hanna
    Regards,
    Hanna



  10. #10

    Default

    Running a MBP retina with 8gb of ram. Set one cpu per instructions. 4g of ram for the vm and turned on the nested hyper v.

    Random crashes and errors, several reports sent to parallels. The VM wouldn't run long enough to actually get VS or the emulator running to test.

    Also I followed the instructions provided in the kb.



  11. #11
    Parallels Developers juzci's Avatar
    Join Date
    Jun 2011
    Posts
    301

    Default

    Hi Paul,
    could you please give me reports IDs? Or just send us one more report and give me ID, i'll do the rest myself.

    Hanna
    Regards,
    Hanna



  12. #12
    Bit Poster
    Join Date
    Nov 2012
    Posts
    2

    Default

    Mine is Retina MBP with customize 16G Memory.
    Set 1 or 2 CPU and 4G ram with the setting in the Link is workable.

    And don't know why recommend only 1 CPU for PD ?

    PS: The Lan can't set to virtual Wifi or the WP Emulator can't connect to the network.



  13. #13

    Default

    Quote Originally Posted by juzci View Post
    Hi Paul,
    could you please give me reports IDs? Or just send us one more report and give me ID, i'll do the rest myself.

    Hanna
    Is there a way for me to look at previously sent errors?



  14. #14

    Default

    So far today it hasn't "crashed" but I have some weird video problems. and the emulator fails to start completely
    Attached Images Attached Images



  15. #15

    Default

    Quote Originally Posted by juzci View Post
    Hi,
    please recheck on build 18345: http://kb.parallels.com/en/115211

    Regards,
    Hanna
    This KB is for Parallels Desktop 8. Any plans to support in Hyper-V in PD 7?

    Thanks.



  16. #16

    Default

    I'm facing the same issue as Paul (see above post).

    A screenshot of the weird video problem...
    https://skydrive.live.com/?cid=6ca51...E%211056&sff=1

    Running a MacBook Pro Retina, 2,6Ghz i7, 16GB RAM

    Let me know how I can be of help (error/debug logs?).



  17. #17

    Default

    Same here, after installing the latest build and enabling nested virtualization, I get really weird video output (like the others' screenshots) from the time I log in to my Windows 8 desktop in the VM. If I shut down the VM, turn off nested virtualization, then turn it back on, the video issues go away. I also experienced a hang while starting the VM the first time I turned it on after enabling nested virtualization.

    Thanks! Hope this issue gets resolved in the next build so that I can use the WP8 emulator. Pushing the app package to the phone each time I run it is soooo slow.



  18. #18
    Bit Poster
    Join Date
    Sep 2012
    Posts
    3

    Default

    I have had the same issue, but after I disabled 3D video acceleration I have not seen the issue anymore.



  19. #19
    Tera Poster YanaYana's Avatar
    Join Date
    Nov 2011
    Posts
    1,670

    Default

    Quote Originally Posted by PriyanthaJ View Post
    This KB is for Parallels Desktop 8. Any plans to support in Hyper-V in PD 7?

    Thanks.
    I'm afraid no, it is only available in PD8
    || Parallels
    http://kb.parallels.com



  20. #20

    Default

    Deploying to my device is VERY slow in parallels when compared to Fusion. Any tips for speeding that up?



Page 1 of 2 1 2 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •