问题
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 http://www.deviantsart.com/upload/q02bav.jpg
Here is a screenshot from Silverlight 3 Toolkit intellisense which has always worked well in both vs2008 and web dev express 2008:
alt text http://www.deviantsart.com/upload/196ufid.jpg
回答1:
Confirmed.
This appears to be an issue with the Silverlight Toolkit assemblies, as this does work for the SDK assemblies.
Print Screen http://img162.imageshack.us/img162/9004/noitellisensetoolkit.png
If I were you I'd file a bug up on connect @ Microsoft Connect
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.
来源:https://stackoverflow.com/questions/2661814/why-does-silverlight-4-tools-only-give-partial-intellisense