reubencartwright

March 11, 2011

Explains how to lower and release compatibility Silverlight3

Filed under: Uncategorized

Fortunately, Jeff Wilcox (Microsoft Silverlight Dev) gives the solution for the coexistence of

But his solution is needed that some digestion and experiments to test the success (and I spent the half hour)

Therefore, I have a separate blog to write articles and add what I understand, we want to help

Prerequisite:

??Silverlight Tools For Visual Studio 2008 SP1

??Silverlight 3 Tools Beta For Visual Studio 2008 SP1

??Microsoft Expression Blend 3 Preview Select your primary build environment:

If you are generally presented to develop Silverlight 2

Please install Silverlight 3 Tools Beta For Visual Studio 2008 SP1

Then install Silverlight Tools For Visual Studio 2008 SP1

(It will uninstall Silverlight 3 Tools, but does not uninstall Silverlight 3 SDK)

If the main application development Silverlight 3

Please install Silverlight Tools For Visual Studio 2008 SP1

Then install Silverlight 3 Tools Beta For Visual Studio 2008 SP1

Support multiple versions of the compiler:

To achieve this need to do step two-step

1. Copy all the files under the original directory to the target directory in the root directory

Original directory target directory

C: Program FilesMSBuildMicrosoftSilverlightv2.0C: Program FilesMicrosoft SDKsSilverlightv2.0

C: Program FilesMSBuildMicrosoftSilverlightv3.0C: Program FilesMicrosoft SDKsSilverlightv3.0

We can get the target directory of the file are as follows

Indicated below: If you do not. Net RIA Services Preview

This document will not be Microsoft.Ria.Client.targets

2. Use a custom element to support the version you want to compile the Silverlight

Silverlight using Notepad to open the program (not the Web that) of the Project project file (such as CrossBuildTest.csproj)

Find the following sentence:

The main build environment is Silverlight 3 Beta

Silverlight 2 is the main build environment

If you want to build Silverlight 2, you can modify the code as follows:

C: Program FilesMicrosoft SDKs $ (ExternalTools) Silverlightv2.0 $ (SilverlightBuildResources) Reference Assemblies $ (SilverlightBuildResources) LibrariesClient 2.0.31005.0

Would like to Silverlight 3 Beta build, modify as follows

C: Program FilesMicrosoft SDKs $ (ExternalTools) Silverlightv3.0 $ (SilverlightBuildResources) Reference Assemblies $ (SilverlightBuildResources) LibrariesClient 3.0.40217.0

Then restart the program will be compiled in accordance with your settings you need version of the Silverlight application

When you follow the instructions above to set the time to compile the other version

Re-loading project pop-up security warning

Select the normal load item (Load Project normally) on it, then we can follow the version set to generate a Silverlight application specific settings if you become in accordance with the Silverlight 2 to compile the application but may be due to careless use of a Silverlight 3's new features, VS will prompt the following error I introduced in Silverlight 2 3D planar projection and pop-up error

Demo:

Silverlight 2 online test

Silverlight 3-line test (only installed Silverlight 3 Developer Runtime to normal resolution)

College student hidden hard to guarantee the right to life and health worries

VBScript ReDim Statement

M2TS to MPG

First job out of the ivory tower beginning how the election

MP4 to ASF

Storage Inventory And Barcoding

Themes And WALLPAPER brief

Xvidcore.dll not found errior

MOD to AVI

Using De exterminate Rabbits annoying ads RMVB movies

Comments »

The URI to TrackBack this entry is: http://reubencartwrightus.blogsome.com/2011/03/11/explains-how-to-lower-and-release-compatibility-silverlight3/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Hermanitos Verdes