Building a Silverlight 5 3D Development Environment

Source: Internet
Author: User
Tags silverlight visual studio 2010

First, you must install Visual Studio 2010 SP1 or a later version on your computer.

If it is not installed, the following is the Visual Studio 2010 SP1:

Http://download.microsoft.com/download/E/ B /A/EBA0A152-F426-47E6-9E3F-EFB686E3CA20/VS2010SP1dvd1.iso

Download and install Microsoft Silverlight 5 tools for Visual Studio 2010 SP1

:Http://www.microsoft.com/zh-cn/download/details.aspx? Id = 28358

Finally, download and install the Silverlight 5 Toolkit

:Http://silverlight.codeplex.com

After the installation is completed in sequence, we can create a new project, such:

In fact, after the installation, there are no three items in the red box above.

This is because the Silverlight 5 toolkit installs the project template to the English language directory. In this case, we need to copy the project template from the English language directory to the Chinese language directory, and then recreate the vs environment, the procedure is as follows:

1) Go To The vs installation directory (default path: C: \ Program Files \ Microsoft Visual Studio 10.0 \ common7 \ IDE) and go to the \ projecttemplates \ CSHARP \ Silverlight directory, find the English language directory 1033, which contains three project template files: Silverlight unit test project.zipw.silverlight3dapp.zipw.silverlight3dlib.zip.

2) copy the above three files to the Chinese language directory 2052.

3) run the CMD command line to go to The vs installation directory (default path: cd c: \ Program Files \ Microsoft Visual Studio 10.0 \ common7 \ IDE)

4) Run devenv/setup.

5) Run devenv/installvstemplates.

In this case, re-open.

Now we create a project Silverlight 3D application. By default, Solution Explorer generates four project packages, as shown in:

In this case, we also need to make relevant settings. Right-click the silverlight3dapp, select properties, and set "allow applications to run outside the browser ".Program"And" trust to be improved when running in the browser "are checked in the selection box. As shown in:

Click "out-of-browser settings" and check the selection box before "use GPU acceleration" and "enhance trust when running outside the browser.

Then, the two newly generated files (inbrowsersettings. xml and outofbrowsersettings. XML) in the silverlight3dapp respectively modify the generated operation to the content in the property ,:

Finally, you can click Start debugging or press F53D RotationCubeBody. At this time, the development environment has been successfully set up.

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.