After installing vs2010, install silverlight4_tools.exe again,
A Silverlight project is created, and someCode, Press F5 to run. 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 control panel --"Program:
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.