I have a class diagram associated to a Silverlight class library project in Visual Studio 2008 SP1. One of the pieces of code displayed in the diagram is an interface I have made that inherits from System.Windows.Input.ICommand.
Now I want the base class of that interface (ICommand) to be shown in the diagram as well. So I right-click in the box representing the inherited interface, and select Display base interfaces. Then Visual Studio shows the following error:
Can't display one or more base types because the following type can't be found: System.Windows.Input.ICommand
The System.Windows assembly is properly referenced, the code for the inherited assembly has no errors, and the project compiles without problems.
So, what's happening here? Maybe a bug in Visual Studio?