Are you still waiting for Microsoft to release Silverlight 4 for Visual Studio 2010 RC?
I'm not anymore :)
You could completely use Silverlight 4 bits for VS 2010 Beta 2 with VS 2010 RC. Alex Sorokoletov has found how to install Silverlight 4 on VS 2010 RC.
There is no magic and steps are simple as One, Two, Tree:
- Download Silverlight 4 Tools For VS 2010 Beta 2
- Run installation. The dialog window saying what Visual Studio 2010 Beta 2 should be installed will appear. Don’t hit the cancel button!
- Locate folder named like ‘bfb0032a835647b79718f26ba81d3392’ on root of some of your hard drives. And copy it’s content to some other location.
- Open ParameterInfo.xml and comment out <BlockIf DisplayText="Visual Studio 2010 Beta 2 ..."> section (it is placed on lines 13-41)
- Now you are ready to SPInstaller.exe to install Silverlight 4 Tools
- One additional step is required to force Visual Studio to use Silverlight 4 instead of Silverlight 3 for visual designers. To do it open regedit and search for DesignerPlatforms. Under this key go to Silverlight and change SilverlightHost value to ‘4.0’.
You should be happy now :)
If you need RIA services then load patched Microsoft.RiaServices.Tools.dll assembly and copy it to ‘c:\Program Files\Microsoft SDKs\RIA Services\v1.0\Libraries\Server’ folder.
And then open GAC management console by [Win+R] -> assembly ->[Enter]. Remove old one assembly and add new one.
Restart Visual Studio and you are done.
Thanks for Alex!