Windows Phone development environment configuration experience

Source: Internet
Author: User
Tags visual studio 2010

Although Windows Phone has been released for a long time, I have never tried to configure the development environment. The configuration process has been recorded in the past two days, for more information, see :)

 

Hardware configuration

System: Windows 7

Memory: 1.5 GB

Video Card: Integrated Video Card nForce 6150SE (6100-430)

Hard Disk: ST350041 8AS

CPU: AMD Athlon (tm) 64X2 Dual Core Processor 4400 + (Dual Core)

 

Software installed:

Microsoft Visual maxcompute 2010

 

1. If the VS2010 SP1 Patch has been installed, skip this step. If it is not installed, install it first. There are two installation methods:

1. You can download an online installed application from the Microsoft official website (the link below). After downloading the application, double-click it to run it. However, this method may take a long time.

 

Http://www.microsoft.com/downloads/zh-cn/details.aspx? FamilyID = 75568aa6-8107-475d-948a-ef22627e57a5

 

 

2. Download the full offline installation package (I am using the first method). Refer to the download link:

Http://dl.iplaysoft.com/files/1145.html (Click list, about 1.5G)

 

The following figure shows how to install vs2010 sp1 online with a 4 M bandwidth. It has been installed for a long time.

 

 

 

 

 

2. Next, we can start to install the development environment for Windows phone. Here we will only introduce the installation and configuration steps for Windows 7 (in fact, it is very simple to configure with the Android environment, that's even simpler.) For XP students, refer:Http://dev.10086.cn/cmdn/wiki/index.php? Doc-view-2573

 

1. Download Windows Phone Developer Tools CTP-CMDL Refresh. My English dish is downloaded in Chinese.

Http://www.microsoft.com/downloads/zh-cn/details.aspx? Familyid = 0a373422-6680-46a7-89e1-e9a468a14259 & displaylang = zh-cn

Http://www.microsoft.com/download/en/details.aspx? Displaylang = en & id = 27570)

 

Everyone will find that this vm_web2.exe is also very small, with only 3.4 M. Yes, it is installed online. It will be automatically installed during online installation, including:

Windows Phone Emulator CTP (this should be a simulator)
Silverlight for Windows Phone CTP (Silverlight)
XNA Game Studio 4.0 CTP (Game Development Environment)

 

Double-click vm_web2.exe to run it. You can see the two installation methods: current installation and custom installation. I forgot to cut the first figure and found an English version on the Internet.

 

 

 

I chose the one installed above. Now you can see the official installation interface.

 

 

This process is quite long. Wait.

 

After the installation is complete, the following interface is displayed:

 

 

 

Click "exit. By now, your Windows Phone SDK environment has been configured. Next, try creating a test project.

 

 

 

3. Steps are no different from creating a common. net project. When selecting a project type, select "Windows Phone application", for example:

 

 

 

Then, click "OK". Next, you will be asked to select the version. Because we are testing, it doesn't matter which one to choose.

 

 

 

After the version is selected, click "OK" to create the project.

 

 

 

Here, we can see the simulator on the left, and the front-end code page on the right. Microsoft's things are more human-oriented. After the interface things are changed, we can immediately see that they are not like Android. Let's not talk about it. Let's run F5 directly. If it is normal, we can see the running effect of the simulator.

 

However, I am unfortunate. Do I see the video card configuration mentioned earlier in this article? There is also the memory size, 1.5 GB, so the operation, the error, after verification, only to know the reason for the video card and memory.

 

Error 1:

 

 

 

This computer does not support Windows Phone Emulator. Therefore, the computer does not have the necessary graphic processing unit configuration. XNA Framework games or pages cannot run without graphic processing units. Silverlight applications can run, but their functions will be reduced ......

 

If you see this error, update the video card driver to the latest version, and mine, it is because the video card configuration is too low. It prompts you that some effects may not be visible or cannot be run. However, you can leave it alone. Click "yes" to continue running.

 

 

Error 2:

 

 

The connection failed because the command line parameter is invalid.

 

This is the reason for the memory size. Memory is added to solve the problem. Of course, if you have enough memory, you can try the following method:

 

Failed or failed to deploy to Simulator
Note that if the simulator fails: "connection failed because of invalid command line parameters", the error occurs because the simulator cannot be started. In the order indicated, try the following solution:

1. Verify that your system meets system requirements as stated in the release notes.

2. Make sure that you have at least GB of available system memory to start the simulator. Note that the required minimum system requirement is 2 GB. Since you are running the simulator on the development system, consider that your system still needs enough memory to meet your other development tools. Therefore, depending on how you use your computer, you can consider installing a system memory larger than 2 GB.

3. Make sure that you have not installed an earlier version of the Windows Mobile simulator on your computer, such as version 5.x or 6.x. Uninstall them. If they exist, restart them.

4. Check whether you are running on the VM because it is not supported by the CTP version.

5. If the tool you just installed has not been restarted, first try restarting to see if the problem can be solved.

6. Try to set the launch of VS2010 as the administrator. The following are the steps. Make sure that you log on as an administrator. Right-click Microsoft Visual Studio 2010 Express's Windows Phone, select "properties", click the "compatibility" tab, and select the "run this program as administrator" check box. Make sure that you log on as an administrator and restart Visual Studio.

7. Try to manually start the simulator with any command line parameters and find the error message sent by the simulator (usually you will only see a Help Window. On the contrary, if you see an error message, ask the topic of this forum to report any error details.

8. Close Visual Studio and other applications that require memory, and then try to manually start a bin path that contains only simulators, including command line parameters.
In x86 systems:
"C: \ Program Files \ microsoft xde \ 1.0 \ XDE.exe" in "C: \ program files \ microsoft sdk \ WindowsPhone \ V7.0 \ analog \ image \ WM70C1. bin"
In x64:
"C: \ Program file (x86) \ microsoft XDE \ 1.0 \ XDE.exe" "c: \ Program file (x86) \ microsoft SDK \ WindowsPhone \ V7.0 \ analog \ image \ WM70C1. bin"
If the above technique is successful in starting the simulator, it indicates that the original fault is caused by insufficient available memory.

9. Make sure that other virtualization software is not used on the same computer. This CTP (pre-beta) release is incompatible with VMWare or other third-party Virtual Machine Software. For example, a third-party virtualization software may interfere with or replace Windows Phone simulators using the Virtual Machine Manager (VMM) service.

 

 

 

 

The following are the system and hardware requirements for configuring the Windows Phone environment on the Internet. For details, refer:

 

Operating System (vs2010)
Customized Windows XP (x86) Service Pack 3-All versions except Starter Edition
Customized Windows Vista (x86 and x64) Service Pack 2-All versions except Starter Edition
Customized Windows 7 (x86 and x64)
Customized Windows Server 2003 (x86 and x64) Service Pack 2-All versions
Customized Windows Server 2003 R2 (x86 and x64)-All versions
Customized Windows Server 2008 (x86 and x64) Service Pack 2-All versions
Customized Windows Server 2008 R2 (x64)-All versions

Hardware requirements
Compute with 1.6 GHz or faster processors
Memory 1024 mb ram (1.5 GB if running on a VM)
✓ 3 GB available hard disk space
5400 RPM hard drive
A video card that supports DirectX 9 running at a display resolution of 1024x768 or higher.

 

 

 

 

I hope this article will help students who need it.

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.