×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

Today (19 Oct 2009) the Visual Studio team released the second beta for Visual Studio 2010 to the public.  This is a significant milestone for the team and a huge improvement over the previous beta in my opinion as a user.  As a developer, you can find out how/when you can download Visual Studio 2010 and .NET Framework 4 beta 2 from here.

After installing the tools, one thing you may notice right away is a different look of branding of Visual Studio going forward for now.  Gone is the beloved multi-colored infinity looking thing (that’s what I call it at least) and enter the updated logo.

Visual Studio 2010 brand logo

I’d encourage you to download it when you can (MSDN Subscribers can do that today, general availability on Wednesday, 21 Oct) and start playing around with it.

What’s new for Silverlight developers in VS2010?

Well, the good news is no more work around hacks to get Visual Studio 2010 working with Silverlight development!  So what happens now when you install.  Here’s my experience from a clean machine (no existing SDKs, nor any version of Visual Studio as well).

After install of Visual Studio 2010 I have this for Silverlight development:

  • Visual Web Developer
  • Silverlight 3 SDK
  • Silverlight 3 Tools (build 40818, the latest)

A few things missing here:

See below to get the October 2009 release of the Silverlight Toolkit to get all that goodness and support for VS2010.  Remember the installer for the toolkit also gives you the option to deploy the source (which you still have to unzip) which is EXTREMELY helpful in understanding how controls work in general as well as extending the controls to fit your own needs.

For .NET RIA Services, we don’t yet have a supported build for Visual Studio 2010 Beta 2.  More information on this will be coming so make sure to subscribe to my feed here for updates and watch the forums.  I’m seeing if I can work on publishing a potential work around for RIA Services users and will post an update here if I can.  UPDATE: View information about RIA Services roadmap and VS2010 from the team here.

After installing VS2010 though, you can start developing your Silverlight applications and use the editable designer surface as well.  Expression Blend will still be your friend for Visual State Manager editing and animation recording, in my opinion.

Making the designer have some better performance

For beta 2, there is a registry entry you can add (we did say it was beta right ;-)) to make the WPF/Silverlight designer perform better. 

NOTE: Editing your registry can be dangerous if you aren’t familiar with it.  It can cause wars, harm children and hurt your machine.  You’ve been warned.

To enable this, perform these steps with all instances of Visual Studio shut down:

  1. Open regedit.exe using admin permissions (on vista/win7)
  2. Navigate to HKLM\Software\Microsoft\VisualStudio\10.0 key
  3. Right-click and add a new Key named “ClrHost”
  4. In the new key, right-click and create a new DWORD32 with the name of StartupFlags
  5. Set the value of StartupFlags to 5
  6. Close regedit and use Visual Studio as you normally would

I’ve also made a reg file to make this easier.  You can download this file: Dev10DesignerFix.renametoreg and rename it to .reg and double-click it to get this entry.  I chose to force you to rename to .reg so you know what you are doing :-).  This is a step that will not be necessary in the final release version.

Silverlight Toolkit October 2009 Release

Additionally today, the Silverlight Toolkit published the October 2009 release of the bits.  Primarily this was for support of Visual Studio 2010 integration, but also includes drag-drop support for key controls as well as some charting and other API improvements/fixes.  You can read the full details of the release of the toolkit here and download the latest build.

Hopefully you all have a chance to start working with Visual Studio 2010.  I am looking forward to using the new IDE and features to help me be more productive!


This work is licensed under a Creative Commons Attribution By license.


10/19/2009 1:50 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Great news :)
Why isn't that registry entry enabled by default? Are there any possible negative side-effects?

BTW, why are you using Amazon S3 to host your files? (Instead of Azure Blob Storage) :P
10/19/2009 1:53 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
The registry isn't enabled by default just because of a late change in the cycle. The team didn't want to delay the beta any longer and making the change would have triggered new test cycles, etc. As of right now there are no identified side-effects.

Oh, and Azure blob storage isn't available in production yet -- and I've built my workflow long before it was a sparkle in Ray Ozzie's eye and have tools to support my workflow (http://s3browser.codeplex.com). :-)
10/19/2009 2:10 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Hey Tim,

Helpful post (as always). VS2010 seems to have a go-live license. Any words of wisdom here for us Silverlight devs? Install now and start using it for production? Can I install it side-by-side with VS2008? Use it in a VM only?

Thanks,

Koen
10/19/2009 2:12 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Koen - yes it does have a go-live and you could use it for your SL3 application development. It can be installed side-by-side just like previous versions. I've not found any conflicts yet myself for Silverlight other than the above with RIA services.
10/19/2009 4:47 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Hi Tim. I don't know about the others, but (grateful though I am) I'd rather you guys focused on getting RIA Services into production-ready status than focusing on giving us temporary workarounds. Having invested rather heavily into the current version RIA Services myself (and loving it), I can tell you that I would wait for full integration with VS2010 anyway.
10/19/2009 4:57 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
John -- good to know. And trust me, the team is working on it. The work-around I mentioned would be a Tim-Heuer-hack-special :-) -- not a special build of the RIA services framework.
10/19/2009 6:23 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Hi Tim!
Wonderful news, I'm like John I have invested heavily in RIA services, I can't wait to see the for full integration in VS framework.
Thanks,
Rachida
10/19/2009 6:38 PM | # 
A little bit off topic: that "infinity looking thing" looks like a Moebius Band: http://en.wikipedia.org/wiki/Moebius_band
10/19/2009 11:56 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
How to dynamic adding rows and columns for grid with siverlight. Actually, I need unbound datagrid of silverlight that similar flex grid 7.0 of Component One.
Thanks
10/20/2009 3:34 AM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Hi Tim,
Nice job on this tools, the tooling on the Silverlight / WPF is more and more mature :-).
However, is there a way to make VS 2010 Beta 2 and Blend 3 play nicely on Silverlight 3 projects with Framework 4.0 based services (I am playing with EF 4.0 + DataServices and SL3, and Blend cannot open the server-side project, and complains that it must build it to actually show the Silverlight control designer) ?
10/20/2009 4:08 AM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
SL Tools Broken?

Hi Tim - congratulations on the release; it looks really great and is much faster than Beta 1. However, on completion of installation it said SL Tools failed to install, and since I have VS2008 and SL Tools (July) installed I assumed that was the problem and removed the older SL Tools and did a "Repair" on VS2010 Beta 2.

The repair completed with no errors, but I have no SL Tools at all now, in either VS2008 or VS2010 Beta 2! Can you point me to a CAB or MSI file on the VS2010B2 DVD image where I can find the latest SL Tools and install them manually?

Cheers!
10/20/2009 8:04 AM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
SL Tools Broken? - Solved!

Normal service has been resumed. Looks like I also had the previous SL3 SDK installed, so I removed that and installed the silverlight_sdk.msi found in \WCU\Silverlight on the VS2010 Beta 2 DVD image and now SL projects are working just fine in VS2010 Beta 2! (Maybe this duck forgot to RTFM - I think SL SDK is mentioned in readme, ahem!)

Cheers

P.S. I also had to re-install the old SL Tools (July) to get SL projects working again in VS2008.
10/20/2009 8:53 AM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Simon - Blend will not play nicely with Expression Blend right now until an update from Blend will happen.

Philip - glad you got back to normal.
10/20/2009 3:54 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Tim,

Unlike the others, I would definately like a way to install the July CTP 09 for VS 2010 specifically for .NET 3.5 targeting. I would like to move and test VS 2010 utilizing .NET 3.5 on my current projects that utilize Silverlight 3, and we are heavily invested in RIA Services (currently the July 09 Go-Live Version).

How would this work when the VS 2010 .NET 4 PDC drops? Will it install a .Net 3.5 version (the subset) and a .NET 4.0 Version (the superset NONE Go-Live version).

I would like to help microsoft by testing VS 2010, get a feel for the new features, and most importantly, utilize the new Designer / Databind features for Silverlight 3, but at the same time keep targeting .NET 3.5 and July 09 Go-Live version of RIA Services.

Will your Hack-Example cover this? Will the PDC 09 install cover this?

Corey
10/20/2009 5:17 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Tim, thanks for the update. When will SL support the language enhancements in VB10 (multi-line lambdas, etc.) - or did I miss it that it's "in there"? Thanks.
Gravatar
10/20/2009 10:36 PM | # re: Visual Studio 2010 Beta 2 and Silverlight updates
Tim,
Do I dare to install it alongside my present Silverlight 3 and VS 2008?
I'd hate to destroy my present environment!
10/30/2009 1:26 AM | # izle
thanks for all admin
owe you gratitude..

 
Please add 8 and 4 and type the answer here:

DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.