Part 2: Installing Windows Phone SDK 8.0 | Windows Phone 8 Development for Absolute Beginners

  • Thread starter Thread starter BobTabor, Clint Rutkas
  • Start date Start date
B

BobTabor, Clint Rutkas

Guest
Source Code: http://aka.ms/absbeginnerdevwp8

Before you can develop a Windows Phone 8 app, youll need to install the Windows Phone 8 SDK (Software Development Kit) on a computer running Windows 8 64-bit edition. The reason for this requirement is the Windows Phone Emulator ... it is running as a virtual machine in Hyper-V, Microsofts virtualization platform. So, youll be running the Windows Phone 8 operating system in a window that looks like a real phone, on your desktop for the purpose of testing your work.

1. Understanding the Operating System Requirements


So to be clear, if youre not sitting at a computer with Windows 8 64-bit edition at this moment, youll need to install that first. If youre not sure which version of Windows 8 your computer is running, you can go to the Control Panel, System and Security ... under System youll see the System type:

dcadf0b6f10cd2aef4f90d5637f7bbee.png


TIP: Im going to save you some time and expense. If youre running a previous version of Windows and it is a 32-bit edition, you cannot simply use Windows Upgrade Advisor by visiting:

http://windows.microsoft.com/en-us/windows/buy

to electronically upgrade from a previous version of a Windows 32-bit operating system to Windows 8 64-bit. Instead, youll need to purchase the Windows Pro Upgrade DVD.

For a more thorough explanation of this and every possible scenario imaginable, check out Paul Thurrotts post at this URL:

http://winsupersite.com/article/windows8/windows-8-upgrade-32bit-64bit-144649

In my case, I purchased the OEM version of Windows 8 64-bit Pro. I was concerned that I couldnt do a clean install using the Upgrade, however that apparently is not the case and I could have saved a few bucks with the Upgrade option.

TIP: Also, Windows 8 64-bit is NOT the same as Windows 8 Pro. Theres actually:

  • Windows 8 64-bit Pro
  • Windows 8 64-bit
  • Windows 8 32-bit Pro
  • Windows 8 32-bit

For the purpose of developing Windows Phone apps, you dont need the Pro option, just make sure whatever you choose is 64-bit.

Next, you download and install the Windows Phone SDK 8. If you already have Visual Studio 2012 Professional or greater, the installer will merely add the tools required for Phone development. If you DONT have Visual Studio 2012 installed, the installer will add the Visual Studio 2012 Express for Windows Phone 8. This will provide a single-task version of Visual Studio meant specifically for Phone 8 development, so you wont get the tools to create Windows 8 Store apps, Windows Presentation Foundation apps, ASP.NET web apps, and so on. Ill be using this version for the remainder of this video series, but I assure you the experience is almost identical to using Visual Studio 2012 Professional or greater.

Windows Phone SDK
http://developer.windowsphone.com/en-us/downloadsdk

Im sure youre familiar with downloading and running an installer, so I wont walk through that process here.

2. Optional ... Enabling Hyper-V


During installation, you may see this message:

f77030bcdbcccb38d9f5b763856a013f.png


In this case youll need to enable your motherboard to run Hyper-V.

How to enable Hyper-V for the Windows Phone Emulator
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx

In my case, I recently built my own machine and used the Asus Sabertooth Z77, which is a high-end military grade motherboard. I used the latest Intel i7 chip—the i7-3770K which fits in an LGA1155 socket. Most importantly, it supports Intels Hyper-Threading Technology ... I just have to tell the motherboard to turn that functionality ON.

In the BIOS for my motherboard, I had to enable Hyper-V by going to Advanced Settings, then the Advanced tab, then looking through the possible settings. In my case, it was something called Hyper-threading.

This may sound scary, but its a one-time change and after I worked past the terminology and how to actually get into your BIOS, it all went smoothly:

1d5cc9466c2ddd9d9c50d94c39218173.png


What I would recommend is this—if youre not sure how to do this for your particular brand of computer, just run the SDK installer and follow its instructions. Its possible youll need to do nothing special. If you DO need to do something, its very possible someone else in the world with the same exact computer that you have has worked through this issue and blogged about it. Heres where good searching skills with a search engine like bing.com is an invaluable skill. A few minutes—heck, even an hour of reading and researching—can save you headaches. As a last resort, contact the manufacturer of your computer to simply ask how to enable hyper-threading in the BIOS. They should be able to point you to a knowledge base article on how to perform this operation.

Unconventional Installs


But as the old expression goes, theres more than one way to skin a cat ... I was able to successfully install the Windows Phone SDK 8 and Visual Studio 2012 Express for Windows Phone on a Mac Pro running OSX Mountain Lion and VMWare Fusion. I just made sure when I created the VM that it was 64-bit and prior to installing the operating system, I setup the Processors and Memory in VMWare Fusion:

34a5c24b6e44acb128bb9097245039d6.png


... I gave it plenty of cores and memory, then made sure that "Enable hypervisor applications in this virtual machine" was checked. I cant remember if I needed the second option, "Enable code profiling applications ion this virtual machine" checked ... its been a month since I set this up ... but since it works with this turned on, I recommend this, too:

c620c6069582dd78f408750ca2a0944b.png


I only bring up the Mac with VMWare for this reason ... if theres a will, theres a way. What seems hard is usually pretty easy ... just need to know which options to configure. Again, bing.com can be your friend in cases like these.

After you work through these requirements, youre ready to get started and follow along in this series. So, well begin in the next video.

eb33e4180f1362a8e3cbd678504c36bc.gif


Continue reading...
 
Back
Top