After installing vs2010, install silverlight4_tools.exe again,
After creating a Silverlight project, enter some code and press F5 to run it. the following error occurs:
Debugging cannot be started. The Silverlight Developer Runtime is not installed. Install a matching version.
After searching, there are two methods:
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.
Supplement:
-------------------------------------------
Solution: The Chinese version of VS2010 cannot install Silverlight4 Tools
Open Registry
Command: regedit
Open the node: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ VisualStudio \ 10.0 \ Setup \ VS \ BuildNumber
Add a "string value" here, enter the name "1033", and set its value to "10.0.30319"
------------------------------------------
1. add and delete programs in Control Panel -->:
Delete Microsoft Silverlight and check whether the version is 4.0.50524.0.
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.