×

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!

Last week, the Silverlight 4 beta release included the Silverlight 4 Tools for Visual Studio 2010.  This single installer would perform the following (assuming you had either Visual Studio 2010 or Visual Web Developer Express 2010 already installed:

  • Install a Visual Studio 2010 service pack (KB976272)
  • Install Silverlight 4 Windows developer runtime (4.0.1108.0)
  • Install Silverlight 4 SDK
  • Install WCF RIA Services (November 2009)

That is all you really needed.  But some may have had an experience afterwards of launching VS2010 and *NOT* seeing the WCF RIA Services Class Library or Silverlight Business Application templates:

WCF RIA Services Templates in VS2010

What is happening here is that likely you already had a version of .NET RIA Services (likely the July 2009 CTP) installed.  The Silverlight tools installer silently failed and just kept going.

If you don’t see the WCF RIA Services Templates…

If you don’t see the WCF RIA Services templates, make sure Visual Studio 2010 and Visual Studio 2008 are both shutdown and perform the following:

  • Go to the Add/Remove Programs control panel application and locate .NET RIA Services.  Select the item and uninstall it.  This will remove the previous July CTP of the artist formerly known as .NET RIA Services.
  • Re-run the Silverlight Tools for Visual Studio 2010 installer.  This will re-install the items and ensure that RIA Services is properly installed
    • Optionally you can extract the RIAServices.msi installer by running the tools installer with the /x:<folder> switch which will extract the contents.

After performing the above, you should now see the WCF RIA Services templates and should be working fine.

So, what happened?  Why no fail log?!

We did say beta right? :-) -- In all seriousness, we wanted to ensure that the WCF RIA Services bits got in the tools installer and knew this little inconvenience might creep up for some.  Apologies for the inconvenience.  There also exists no logging of the failure to indicate that there was anything wrong and to assist you in knowing the situation.

This is being fixed in a future installer to detect a previous install of RIA Services and alert the user (or we may even force uninstall it…not sure yet). 

But wait, RIA Services isn’t working in my Visual Studio 2008 environment now!

That’s right.  If you install RIA Services for Silverlight 4/Visual Studio 2010, it isn’t going to work in your Visual Studio 2008 environment.  If you want to work on RIA Services with Silverlight 3 and Visual Studio 2008, then you need to stick with the WCF RIA Services for VS2008 version.

Bottom line: RIA Services does not install side-by-side.

All of this information is provided to you on the WCF RIA Services web site.  The first section explains the bits you need for each environment.

Hopefully this helps clear some confusion.  Yes, I know it is frustrating not getting an error and not seeing things work.  We’re working to solve that (doesn’t help you now, I know) in future setups and make sure the release tools installer does the right thing.  It’s during these beta periods we can help identify such issues to make sure we fix them before release.

If you have questions on WCF RIA Services, be sure to head to the forums where the team is listening!

Hope this helps!


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


11/24/2009 10:17 PM | # re: RIA Services templates not showing in Visual Studio 2010?
I've recently run into a problem with the current RIA Services installation with silverlight 3 using vs2008 and vs2010. I installed, reinstalled, and installed again, but after every single installation, I'd get only one template -- I forget which one.

I spent all night trying to figure out the problem with multiple sources telling me to run some command using the VS command prompt, but it was no help.

I finally downloaded Microsoft's uninstall tool. Despite already uninstalling the service, the tool listed the Service as still being installed. I forced an uninstall. When I tried to reinstall the Service afterwards, I was getting a bunch of error messages. Great! Progress! I figured some error message was better than none. I scoured the internet on the error messages, but came up with nothing.

I turned out to be a bunch of registry keys. The installation was having trouble accessing specific registry keys. On closer inspection, it turned out that the parent folder for the key being added/modified/remove/etc had no owner! I quickly added an owner and corrected permissions on the parent folder and the error message was gone. I ended up doing the same thing for the other error messages and now my RIA Services and templates work flawless.

Hopefully, the new RIA services will give better feedback on installation (and failure).
11/25/2009 3:26 PM | # re: RIA Services templates not showing in Visual Studio 2010?
Silverligh Business Applications template is not working (bugs) when language is vb. C# is working just fine. It´s me or is really a bug?

11/27/2009 9:48 PM | # re: RIA Services templates not showing in Visual Studio 2010?
I am using VS2010 Beta2 and Silverlight 3. Can I use the new RIA Services release (nov 09) with this combination? I don't want to move up to Silverlight 4 at this point. I am also using the Prism IOC

thanks for any input.
11/28/2009 3:41 PM | # re: RIA Services templates not showing in Visual Studio 2010?
Bruce - no. If you install the Nov2009 RIA Services for VS2010, your VS2008 stuff will not work.
12/19/2009 9:18 AM | # re: RIA Services templates not showing in Visual Studio 2010?
Thank you for informations.



Gravatar
2/18/2010 5:25 PM | # re: RIA Services templates not showing in Visual Studio 2010?
I have been working on this Silverlight 3, .Net 3.5 Ria services (Nov PDC) application on VS 2008. I moved to 2010 and the application does not build any more. VS 2010 is unable to see Ria services.

I do not want to upgrade my .net or Ria or Silverlight as yet. I just want to use VS2010. Is that possible?

When I create an empty Silverlight Ria poject on VS 08, I am unableto compile on 2010.

Does VS2010 need the Ria services for VS2010 or can it use the PDC version?

thanks!


 
Please add 5 and 6 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.