views:

254

answers:

3

In Visual Studio 2010 beta when I try to add a reference to a Silverlight 4 project I get an empty list on the .NET tab. I know that it is filled in asynchronously now but I've waited over 10 minutes and it never fills. It seems to work in other projects – it just seems to be Silverlight that it has trouble with. Does anyone know what the problem is?

A: 

The list I get is surprisingly short but not empty. It lists everything found in my "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0" folder. Check that such a folder exists on your system. However these are only core dlls, the SDK dlls and toolkit dlls are missing. To get to those I have to use the Browse tab and simply find them with the file system. I has assumed this to be a result of being a Beta and I expect the .NET list will work better in RTM.

AnthonyWJones
A: 

Sounds like a bug in VS2010 - you can submit it as such on Microsoft Connect.

Richard Szalay
+1  A: 

For Silverlight projects this tab would have to filter out GAC assemblies because it is not reasonable to show items unless they can be delivered to the client. On most systems that would make it an emtpy list. Note that Anthony's items are not in the GAC. I'll give you fair odds that he has some sort of project build search path that includes the folder mentioned.

Peter Wone