Windows Phone 7 emulator - won't run in a virtual machine, workarounds? - visual-studio-2010

Macbook Pro 2011 i7 13". Mac OSX 10.6.7, bootcamp partition running Windows 7. Am running a 240GB SSD and 8GB ram, the computer is more than fast enough to run Visual Studio 2010 in a VM.
If I run Visual Studio from Bootcamp it works fine and develop my apps. Reboot into OSX and fire up the same partition using Parallels in either window or coherence mode I get the message:
Windows Phone Emulator is doing a complete OS boot...."
and the emulator, closes. I've found a few threads and posts about this:
https://connect.microsoft.com/VisualStudio/feedback/details/593422/windows-phone-emulator-shuts-down-computer
http://forums.create.msdn.com/forums/p/68634/481915.aspx#481915
Windows phone 7 takes forever to deploy
I understand it's not officially supported but if there is a workaround it would be amazing as I'd prefer to "live" in Mac OSX and just use Windows for Office and Visual Studio. I like this working model.
Any workarounds, any advice?

Windows Phone Emulator is a virtual machine, and you can't run a virtual machine inside another one...

Its not likely that you can do this as inside the emulator is Virtual PC, another virtual machine. It would be quite taxing to run a VM inside a VM.

Related

Windows Phone 8 SDK Xde emulator runs really slow and Crashes

when you try and run the emulator it will load, then say windows phone OS is starting up, then sit there about 3-5 mins and fail.
Im Running Visual Studio Express 2012 for WP on Lenovo N586 64-bit I've upgraded to windows 8 pro
lemme run down the list of what Ive tried...all are listed here
yes hardware supports hyper-v virtualiztion amd a6-4400m
I'm slat Capable theres a program you can use to test this.
Hyper-v is Installed and running fine
running windows 8 pro I had to upgrade.
Im 64 bit
Im not running any other virtualization software
Ive run XDEcleanup.exe and ran VS2012 as administrator no luck
no im not running on a virtual machine.
and just for fun I've uninstalled the sdk and re installed it
any idea?
For what you're describing, its looks like the VS is trying to create the virtual switch, but failed. To resolve this, go to Hyper-V's Virtual Switch Manager, on the left side of the window, and be sure that you have one virtual switch for every network card you have, usually you must have 3: 1 for the wireless, 1 for the LAN and 1 for internal. If your don't have the wireless or the LAN, create them.

How to run Windows Phone emulator in VMware

I'm trying to make a simple Windows Phone application on a Macbook Pro. So I'm running Visual Studio in Windows 7 inside of VMware Fusion.
When I try to run the phone emulator, this is what I get.
I looked for settings that I could modify to the virtual machine settings but didn't find any.
Unfortunately this technique will probably not work for you. I had the same issue when I was on my PC and wanted to create iPhone applications. VMWare (and other Virtual Machines) are not fully gfx enabled. You need to check the box that says "Accelerate 3D graphics
What I would suggest is to install Windows 7 on your Mac using BootCamp.

Run WinPhone7 Emulator on Windows7 under VirtualBox

My main OS is Windows XP. I install VirtualBox and now have Windows 7 under VirtualBox. I install WinPhone7 Emulator and try run it. But all that I can see is window of emulator with text "Windows Emulator is doing a complete OS boot...". I waited a very long time. I tried to reboot, reinstall the Windows7 and many more. Result of my attempts is zero. It is possible run WinPhone7 Emulator under Virtual Box? What I can do for work with WinPhone7 Emulator without switch main OS?
The emulator doesn't support running under a VM.
Setup and System Requirements for Windows Phone Emulator
The emulator is a VM itself which is partly what makes this unsupported.
Some people have had varying results running under unsupported environments such as XP, VMWare, Bootcamp... but as yet I've not seen anything posted for the VM you mention.
You have a step by step procedure here: Windows Phone 8 SDK on a Virtual Machine with Working Emulator
It uses VMWare but it does allows you to run the Windows Phone 8 emulator in a VM.
I've been using this for a few days with good results. I dont have a Windows Phone 8 device yet, so I didn't tried to deploy but its good enough to start playing with it.

Windows phone 7 takes forever to deploy

I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
The emulator isn't supported running inside or side by side other VM's at this stage. It is implemented as a VM itself. VM's running on windows platforms will be detected by the emulator startup and a specific error message provided. I've noticed several people having the same issue from Parallels on Mac ... presumably the VM detection doesn't work over there to stop the attempt.
System requirements documented here and here for your reference.
Similar to how we have to run a Mac to develop for iPhone without hassles, you'll need to run a PC to develop for Windows Phone 7 - at least for now.
You may also find your issue with the WIndows Phone Emulator is because the Emulator actually the real phone ROM running in a Virtual Machine.
Since your situation is a VM (Windows 7 on Parellels on Mac) this may explain your performance issue. Developers using VMWare have had similar issues plus Virtual PC / Hyper-V does not support Windows Phone 7 at all.
Running virtual machines on virtual machines is a massive performance hit, your only solution may be a cheap PC installation of Windows Phone 7 tools etc on compatible hardware ie Graphics Card / with WDDM 1.1 compatible drivers etc.
For my WP8 deployment, I notice that disconnecting my MacBook Air from the power source will slow the deployment down considerably (so will the debugging and tracing).
Simply plug the laptop back to the power source and everything will become fast again.
Don't kill the emulator between debug sessions. There is no need.
Also - Visual Studio 2010 Express For Windows Phone, which is installed with the tools, is much more responsive as it has less features running.
So if speed is really an issue, that may be an option.

Visual Studio on Mac Book Pro

I just bought a MacBookPro (13", 250HD, and 4GB Ram) because, among other things, I would like to write iPhone Apps.
I need, anyway, to use VS2010 so I think about installing Sun Virtual Box (I've used and I like it) to run Windows 7 with Visual Studio 2010 and SqlExpress2008.
Have you tried it? How many RAM GBs should I reserve for Windows? If I assign 2GB to Windows, will my Mac run fine with the remaining 2GB?
Thanks!
I run Windows 7 and VS 2010 in VMWare Fusion on my Macbook. It has 2GB of RAM, and I've allocated 1GB to the virtual machine. It can be a bit slow at times, but not massively
I've been running Windows XP and Visual Studio in a virtual machine on my MacBook Pro for about a year. I've found that allocating 2GB to Windows and 2 to OS X seems to work well. Everything runs smoothly as long as you don't try to run too much in the host OS (don't try running Mail, iTunes, Firefox, etc all at the same time). I've not run into any trouble running a slew of apps in the VM.
All that being said, I've not tried it running Windows 7 and with it's higher RAM requirements I wouldn't be surprised if you ran into issues.

Resources