In my previous post I talked about updating my development environment from Silverlight 4 Beta to Silverlight 4 RC (release candidate). After updating, I opened the solution for my Task-It project and found that several things were broken. I would've been surprised if it just worked as is!

What disappointed me is that after spending a decent amount of time searching the web, I could not find information telling me what I needed to update/change...and wouldn't it be nice if there was a wizard to update it for you?

What changed?

I wish I had made notes along the line of each of the things I found, but here are a few that I can recall:

  • In the Web project, the following dll's no longer exist:
    • System.Web.DomainServices.dll
    • System.Web.DomainServices.LinqToSql.dll (if you are using the Entity Framework I believe that one is System.Web.DomainServices.EntityFramework.dll)
    • System.Web.Ria.dll
  • In the Silverlight project:
    • System.Windows.Ria.dll

I'm not positive which new assemblies need to be referenced for your project, but I'm going to list the ones I think you need. One way to verify is to create a new Silverlight application with support for WCF RIA Services and see which dlls are included.

  • In the Web project:
    • System.Data.Entity.dll
    • System.ServiceModel.DomainServices.EntityFramework.dll (I've moved from LinqToSql to EntityFramework, so I'm not sure which one the LinqToSql stuff comes from)
    • System.ServiceModel.DomainServices.Hosting.dll
    • System.ServiceModel.DomainServices.Server.dll
  • In the Silverlight project:
    • System.ServiceModel.DomainServices.Client.dll
    • System.ServiceModel.DomainServices.Client.Web.dll
    • System.ServiceModel.Web.Extensions.dll

Where are these dll's?

These all live in either the Silverlight or RIA Services subdirectories under:

        C:\Program Files\Microsoft SDKs

Of if you are on a 64-bit machine like me:

        C:\Program Files (x86)\Microsoft SDKs

Wrap up

Good luck, and I hope this helps to get you back in business!

If anyone finds anything that I've missed, please enter a comment and I'll update the post accordingly.


Related Posts

Comments