Silverlight: "debugging cannot be started-When Silverlight developer is not installed. Install a version matching solution.

Source: Internet
Author: User

Because of the project requirements, you need to use Silverlight. You have to learn how to use it. My colleague sent the SDK, tool, and demo related to Silverlight to me. At the beginning of debugging and running, the following problems occurred:

Unable to start debugging -- The Silverlight developer Runtime is not installed. Install a matching version.

Local Environment: Windows Server 2008r2

Search online and get the following policy:

1. Run the following method without debugging:
Right-click the silverlightapplicationxxx. Web project and choose Properties> Web> remove the Silverlight check box.
You can only browse and cannot debug F5.
2. It is possible that the version of Silverlight 4 has been installed, 4.0.50524.0, rather than the development version.

2. 1. add and delete programs in Control Panel:
Delete Microsoft Silverlight and check whether the version is 4.0.50524.0.
2.2. After deletion,
Decompress the silverlight4_tools.exe file, install the silverlight_cmd.exe (version 4.0.50401.0) in it, and then debug it.

The first method is acceptable, but not debugging. it is not realistic during development. After the second method is followed, the debugging fails. During the debugging, the webpage requires that the new Silverlight version be downloaded. After the download, the problem occurs again. This is almost the solution on the Internet.

Find another article in the blog, and use the following method:

<Param name = "minruntimeversion" value = "4.0.50826.0"/>

Adjust the version required for Silverlight running on the webpage to a version earlier than that installed on the machine.

Try it. Whether it is to change the runtime version to the same or lower version as the local installation version, or the same error occurs.

Fortunately, the local Silverlight version "4.0.50826.0" was added during the search and found in the blogKevin fanThis is because of the Silverlight upgrade.

For developers, they not only need to download the Silverlight client again, but also need to update the new version of the Silverlight 4 SDK, In its article,Speaking of this upgrade, visual stuido tools is not updated.Here, we need to correct it. Today, Microsoft released the new version of Silverlight tools to adapt to the development environment of the new version of Silverlight 4. Please update them at the same time to prevent exceptions in the development environment when the project version is upgraded.

In addition, the article provides detailed instructions on the upgrade and the download path, respectively:

Upgrade troubleshooting details

Install the Silverlight 4.0.50826 client (applicable to end users)

Install the new version of Silverlight 4.0.60310.0 Client for Windows (suitable for developers)

Install the new version of Silverlight 4.0.60831.0 SDK (suitable for developers)

Install the new Silverlight 4 tools (10.0.30319.400) (suitable for developers)

!!Note that: The downloaded versions provided by Kevin fan indicate 4.0.50826, which is the same as the problematic version on the local machine. That is, the Silverlight and SDK versions are 4.0.50826.0 and cannot be debugged. The link provided in the Kevin fan article is downloaded (Time: 2012.02.07) and later versions, instead of 4.0.50826.0 (I did not download the link for end users, so I did not verify the version number ). It is estimated that Microsoft has updated silverlight4 again. Otherwise, all of them are 4.0.50826 and cannot be debugged.

The problem is solved and Silverlight learning is started.

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.