views:

308

answers:

2

I finally got Silverlight 4 Toolkit installed , referenced and working after the difficulty of finding the right namespace described in this question.

But intellisense doesn't work fully: after I type "tk:", it doesn't pop up the various controls I have available, but if I type a control name out, e.g. DockPanel, then it works, as shown below. It will even give me intellisense after I type tk:DropPanel, which is odd.

How can I get intellisense to work in all cases for the Silverlight 4 Toolkit?

I can imagine I need another namespace, but this site says that this reference:

is now all you need (and will be automatically used by both Visual Studio and Blend)

alt text

Here is a screenshot from Silverlight 3 Toolkit intellisense which has always worked well in both vs2008 and web dev express 2008:

alt text

+3  A: 

Confirmed.

This appears to be an issue with the Silverlight Toolkit assemblies, as this does work for the SDK assemblies.

Print Screen

If I were you I'd file a bug up on connect @ http://tinyurl.com/SilverlightBug
In the meanwhile, I'd recommend considering using Resharper to supply your Visual Studio intellisense as using the Ctrl+Space key combination in resharper does provide intellisense at this point.

JustinAngel
thanks, interesting to know it seems to be a general error, I tried to post there at Microsoft Connect but got technical issue: "If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include the ID in your e-mail." but the help link has no option to send an e-mail, so gave up on that route. :-(
Edward Tanguay
thanks, I have exactly the same problem with VS 2010 RTM. After installing SL 4 Toolkit I've lost intellisense on all non-sdk controls.
Denis Vuyka
A: 

This what I did: 1. Add System.Windows.Controls.Toolkit to your project reference 2. Add xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" to your xaml

Intellisense works fine for me. Also on non-mature controls.

Jeroen