Category Archives: Silverlight

Silverlight 2.0 Beta2 (and VS Tools and new CTP of Expression Blend) released

Late last night, Scott Guthrie announced (and provided his usual extensive details and samples) that Beta2 for Silverlight 2.0 was released along with a new version of the VS2008 tools (compatible with the VS2008 SP1 release) and a new CTP of Blend! I also found a few minor API changes so far, one that impacts the InkPresenter (which is now on the toolbar in VS2008 tools) and one that impacts tooltips. Read more here…

[A New DevLife post]


No Breakpoints in Your Silverlight 2.0 code?

Debug breakpoints stopped working in my Silverlight 2.0 project.

There’s one very good reason why debugging won’t work which Karsten blogs about in his post “What To Do When Breakpoints Disappear and Debugging Dies In Silverlight 2“.

But that wasn’t my problem. I had SL debugging on.

My project was from the template which creates a Web App to host and I finally realized that somehow the web app and the silverlight app were no longer linked. WHen I recreated the link debugging was back. Not that I need to debug becuase like you, my code is perfect the first time around! 😉

Silverlight’s VS2008 Controls …that’s where the DataGrid is!

Last week, I pointed out a screenshot in Expression Blend from Scott Guthrie’s post about Silverligth 2.0, showing a lot of new controls. Roger Jennings asked – so where’s this datagrid I keep hearing about? I thought perhaps it was in the additional tools that were not visible in the screenshot, since there was a scrollbar.

I installed Silverlight 2.0 and the March Preview of Expression Blend 2.5 (oh dear, another “.5” version) and opened up to see what else was there. Here’s the default view.

Here are all of the controls in the asset library.

No DataGrid.

BUt then I created a new Silverlight app in VS2008. I can’t get over the Blend designer actually being right there inside of the VS IDE! And there is the DataGrid. But alas, no InkPresenter.

I spent some time (even digging around the dlls in Reflector) trying to find the SL version of the InkPresenter but finally decided to just give in.

Opening a Silverlight 1.1 project in VS2008 after installing Silverlight 2.0

[update: hmmm, I gave up trying to get the app working and started a new one from scratch, so “good to go” was only relative!]

The MSBuild files for Silverlight 1.1 were tucked inside of the MSBuild’s Visual Studio folder. Now they are in their own folder.

If you try to open up a project created with Silverlight 1.1 in VS2008, you will get a message that the C:\program files\msbuild\microsoft\visualSutiod\v9.0\Silverlight\Microsoft.Silverlight.Csharp.targets (or VisualBasic.targets) file can’t be found and you won’t be allowed to open the project.

Click OK to let the solution load.

In the Solution Explorer you should seethe project listed but unavailable. Right click on it and choose the Edit option. The project’s MSBuild file will open.

Scroll down until you find the Import Project= element that points to the targets file.

All you should have to do is replace




Then you can reload the project after saving.


Next steps are to get the right APIs referenced. Add references should show you relevant Silvelright 2.0 APIs. You’ll see that the old ones are no longer valid (the warning icon). YOu can delete them. In there place you need to ref:

  • System [in C:\Program Files\Microsoft Silverlight\2.0.30226.2]
  • System.Core [in C:\Program Files\Microsoft Silverlight\2.0.30226.2]
  • System.Windows [in C:\Program Files\Microsoft Silverlight\2.0.30226.2]
  • System.Windows.Browser [in C:\Program Files\Microsoft Silverlight\2.0.30226.2]
  • System.WIndows.Controls [in C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client]System.Windows.Controls.Extended [in C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client]
  • System.XML [in C:\Program Files\Microsoft Silverlight\2.0.30226.2]

I’m down to one error and when I figure it out I’ll append again.

Virtual MIX – the keynote

At the last minute, I had to forego heading out to Las Vegas for MIX but thanks to streaming, I was able to watch the 3 hour keynote given/hosted by Ray Ozzie and Scott Guthrie. I say “hosted” becasue there were many many amazing demos of work different companies have been doing.

There will be so many people blogging about the keynote that I don’t want to reiterate everything. A few highlights were seeing some major innovation in IE8 (along with Dean’s cool t-shirt – the ie logo and the e in “eight” result in a clever image) and  Silverlight 2 goodness – especially Vertigo’s silverlight app for Hard Rock Cafe (go Scott (even if he doesn’t post a lot on his blog!)). Thanks to Guy Burstein who posted all of the critical links in a few blog posts this morning, there’s also one to the technology that Vertigo used called Deep Zoom.

Okay, Scott Guthrie juggling for a Cirque du Soleil audition was pretty cute, too.

The real goods are:

  • IE8 Beta
  • Silverlight 2 Beta and dev tools and SDK
  • Expression Studio Beta (don’t forget Expression Blend 2.5 March 2008 Preview)
  • A passing mention that the next preview of MVC is available.

Because he did such a good job at it, I’m going to take advantage of Guy’s posts with lots and lots of links.

  • Streamed LIVE from MIX08 – Scott Guthrie
  • Streamed LIVE from MIX08 – Dean Hachamovitch on IE8 (download ie8 beta)
  • Steamed LIVE from MIX08 – Ray Ozzie in Keynote 
  • ASP.Net MVC Preview 2
  • Silverlight 2 Beta 1 and Expression Blend 2.5 March Preview (links to runtime, vs2008 tools, epxression betas, sdks)
  • Deep Zoom in Silverlight 2
  • I missed the discussion of the one DATA related thing because of a phone call! “SQL Server Data Services: Microsoft announced a preview of SQL Server Data Services, a building block service designed for developers and businesses that need scalable, easily programmable and cost-effective data storage with robust database query capabilities. ” Sheesh. Roger Jennings has blogged about this particular piece.

    Silverlight 2.0 is finally unwrapped! Thanks Scott.

    This morning, Scott Guthrie has finally made public the list of features that we will see in Silverlight 2.0. He also include links to EIGHT tutorials all at once, rather than waiting for them blog post by blog post.

    Scott says “We are shortly going to release the first public beta of Silverlight 2”. All bets are on the obvious: at MIX08 in a few weeks.

    Among the new features are

    • a bevy of built-in controls (even controls for databinding)
    • Support for WCF (goodbye to the hacks we have had to perform so far)
    • Cross domain support (hip hip hooray!)
    • LINQ to XML support (more hoorays – now I don’t have to send things off to a web service to leverage LINQ to XML)

    The first beta will be about 4MB and take a whopping 4-10 seconds to install.

    See Scott’s post for all of the juicy details and the links to the 8 tutorials.