I have been paying attention to lightswtich, but after Microsoft released Silverlight 5, the lingthswitch development team has not made a statement on silverlight5. I just saw a post from a foreigner in the morning (Http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/91f391bd-7f33-4bb5-bb5c-447f7b15e4af), Which details a method that allows lightswitch to run on silverlight5.
The main method is
- Generate the "client" and "clientgenerated" two project files "client. csproj "and" clientgenerated. in csproj, replace <targetframeworkversion> v4.0 </targetframeworkversion> with <targetframeworkversion> V5.0 </targetframeworkversion>.
- Replace the DLL referenced as an exclamation point in the project with the silverlight5 DLL.
- Replace "<Param name =" minruntimeversion "value =" 4.0.60129.0 "/>" with "<Param name =" minruntimeversion "value =" 5.0.61118.0 "/ >"
Note:
1. Create a lightswitch project. lightswitch uses sl4 by default.
2. Close the project, open the project directory, and view the project files in the "client" and "clientgenerated" directories (Client. csproj,Clientgenerated. csproj.
SetIn the client. csproj, clientgenerated. csproj File<Targetframeworkversion>V4.0</Targetframeworkversion> Replace with <targetframeworkversion>V5.0</Targetframeworkversion>
3. The environment has been changed from sl4 to sl5
4. Replace the DLL with an exclamation point with version 5.0.5.0.
5.Replace "<Param name =" minruntimeversion "value =" 4.0.60129.0 "/>" with "<Param name =" minruntimeversion "value =" 5.0.61118.0 "/ >"
6. Run the system. Now the system runs on Server Load balancer 5.