The English version of the SDK is installed, but when the final installation is complete, the prompt is Chinese!!!
In addition, if our computer is too old, may install the SDK, the "CPU does not support virtualization" error, although the development tool can be installed properly, but cannot use the Windows Phone 8 Simulator debugging program, only with the real machine debugging.
Windows Phone 8 provides app developers with a number of new and updated features, including local game development, a phone-specific version of the Windows runtime, and a new kernel. We have written this introduction to help you understand the new and updated features in Windows Phone 8 and Windows Phone SDK 8.0. We are very proud of the tools that you have in the SDK. These tools can help you create Windows Phone apps that give users more reason to love their windows phone.
Pre-preparation
1. The computer right-click Properties to see the version of the Windows 8 system installed on your computer, and whether the computer memory is 4G or above 4G.
Note: The system must be above Windows 8 Professional.
Software Environment:
Windows 7 Ultimate Edition (x64), VMware Workstation 10, hardware environment: Xeon CPU E3 1230 (4 cores).
Brief introduction
To install Windows Phone SDK 8.0, 64-bit processors, 4G of memory, Windows 8 64-bit operating systems (any version) are the basic criteria that must be met, and can be debugged using Windows Phone 8 phones registered with Microsoft Developer Center after development. If you want to debug directly using the Windows Phone emulator, then the CPU must also support level two address translation (Slat,second levels translation), the operating system must be a professional version or a higher version.
Prepare the Environment
Self-test according to the requirements described above.
Also check if Slat is supported
In the official Microsoft Download Coreinfo (address at the end of the article) and unzip, and then run the command prompt as an administrator (Start menu, all Programs, accessories, command prompt, right-click "Run as Administrator").
and enter "Coreinfo installation path coreinfo.exe-v" at the command prompt. Intel's processor, shown as EPT (Extended Page Tables). AMD processors, shown as NPT (Nested Page Tables) or RVi (Rapid virtualization indexing). If the CPU supports slat, then you will see the words "ept *", otherwise see "ept-".
Create a new virtual machine in VMware
With a custom installation, the rest of the installation is done by default, except for the individual needs to be set as shown in the picture below.
Select Windows 8 x64 system
Select a minimum of 2 CPUs
At least 4G of memory
Before you start the virtual machine, set the virtualization engine for the CPU to "Intel vt-x/ept or Amd-v/rvi" while the CD/DVD points to the Windows 8 Professional or higher ISO file.
Installing Windows 8 x64 Pro
Check if Hyper-V for this system is already installed
Using the "Win +x" shortcut to call out the programs and features panel, select "Turn Windows features on or off", you can see the Hyper-V platform option is dimmed, and the mouse moves up to "unable to install Hyper-V, a hypervisor is running."
Let's go straight to the next step.
Download install Windows Phone SDK 8.0
Windows Phone Software Development Kit (SDK) 8.0 gives you the tools you need to develop apps and games for Windows Phone 8 and Windows Phone 7.5.
Download the SDK on the official download page after the installation, because I downloaded the ISO version, this version seems to MD5 check code problems, so after installation will be prompted "Visual C + + x64 Debug Runtime cannot find elements." But it didn't affect my Windows Phone App, and I didn't go to scrutiny.
Tip Hyper-V is enabled
After reboot as required, complete the installation
The installation was successful and the Hyper-V installation was successful, so let's look at the Hyper-V option of the system and find that it's all installed.
Run Visual Studio
Website Application Serial Number
When you run visual Studio Express for Windows phone, you will be asked to enter the serial number, which only needs to click on the "Online registration" sign to receive the message with the serial number.
Create a new first Windows Phone 8 App
Select the Windows Phone App project template
Select target system for Windows Phone OS 8.0
Select Simulator (Emulator WVGA 512M), click Run
Run with the Windows Phone emulator and prompt "The Windows Phone Emulator wasn ' t able to create the virtual machine. Generic failure ".
The following will fix this problem by modifying the vmx file.
Modify the Vmx file
VMX is a configuration file for VMware. Close the current virtual machine, then go to the directory for the virtual machine you just created, find the file that ends with ". Vmx", open it with Notepad or another editor tool, and add the following statement at the end of the file:
VMX file
Hypervisor.cpuid.v0 = "FALSE" mce.enable = "TRUE"
Hyper-V checks to see if it is currently running in the virtual machine and will only work if it is not. Hypervisor.cpuid.v0 = "FALSE" is meant to circumvent this check.
After saving, reopen the virtual machine. This time running the project, you will be prompted "Do you want to configure the emulator to connect to the Internet?", meaning that the network connection is lost, we choose "Yes", let the simulator configure the network connection.
Now you are ready to run the Windows Phone emulator properly. cheers!
This process is a bit long, wait patiently for a while
This is the app you just created
Looking back, look at the network connection panel and you'll find some strange connections. These are the virtual switch connections created by Hyper-V.
If you disable the VEthernet (Internal Ethernet Port Windows Phone Emulator Internal), you will be prompted when you run the emulator "the Emulator couldn ' t determin th E host IP address, which is used to communicate with the guest virtual machine. Therefore, this connection is necessary for running the emulator.
Other questions
If you are not able to start your own emulator, check if your Hyper-V switch is already established. The switch configuration contains at least the switch "Windows Phone Emulator Internal switch".
Hyper-V Manager
Normal Hyper-V Manager
Normal Virtual Switch Manager
If you don't find this virtual switch, don't be impatient. With the "New virtual network switch" option, enter "Windows Phone Emulator Internal switch" and select "internal" to build one yourself, the effect is the same.
Windows SDK 8.0 Download address, ISO address can be found on this page
Quick Answers
1. Why should I x64 a bit?
Because Hyper-V only works under a 64-bit processor
2. Why should I support slat?
Because Hyper-V needs to use it to improve the efficiency of virtual address and physical address translation.
3. Why use Hyper-V?
Because the Windows Phone 8 emulator needs to run on Hyper-V.
4. What is HYPE-V?
Virtualization Technology for Windows 8.