Allow lightswitch to run on Silverlight 5

Source: Internet
Author: User

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

 

    1. Generate the "client" and "clientgenerated" two project files "client. csproj "and" clientgenerated. in csproj, replace <targetframeworkversion> v4.0 </targetframeworkversion> with <targetframeworkversion> V5.0 </targetframeworkversion>.
    2. Replace the DLL referenced as an exclamation point in the project with the silverlight5 DLL.
    3. 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.

 

 

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.