In wondering where to start talking about Windows Phone 7 (#wp7) development I thought maybe it’d be best if I started right at the very beginning. A very logical place to start. Whether I can go on till I get to the end ala The King’s advice in Alice in Wonderland remains to be seen. I’ve just paved a machine and want to get it set up for Windows Phone development using the emulator. Here’s what I’m doing:
Note: This is the process as of 21st June with the Windows Phone Developer Tools CTP – April Refresh. As versions are closely tied together, this will inevitably change as soon as a new build of the Windows Phone developer tools is released. Given the current build is now almost two months old, this could be quite soon. You have been warned J
That’s it! Okay it’s a little more involved than is perhaps ideal but we’ll simplify it as we get nearer to release.
A good candidate for “Boot from VHD”
As I mentioned above, it’s quite possible that another release of the Windows Phone Developer Tools will come along quite soon and necessitate some uninstalling / re-installing. Given that using a virtual machine isn’t possible with the emulator (the emulator is a virtual machine and you can’t run a VM inside a VM – the world turns inside our or something) I considered using the boot from VHD functionality in Windows 7 to make this easier.
Create a base VHD with OS, all the apps you need and anything that’s unlikely to change (eg VS2010 in my case). Then create a differencing disk and set this as the boot disk. At this stage you can install all the above and, when it comes time to change, just create a new differencing disk parented on the original base disk and install the new stuff. Neat and simple.
Posted via email from mikeormond's posterous