Show Base Class throws an error if the base class is shared in the class library

Let's say I have a class library project ( Library) that contains a class:

Public Class SomeClass(Of TTypeA, TTypeB)

Then in another project, UIProjectin another solution, I define a class that is derived from (inherits) SomeClass:

Imports Library
Public Class SomeDerivedClass
Inherits SomeClass(Of String, Boolean)

I included Library.pdb and Library.xml along with Library.dll (in the same folder) when I added the libary class reference to UIProject.

Now, in UIProject, I create ClassDiagram (ClassDiagram1.cd) and add to the class SomeClass. So far so good.

The next step is to right-click on SomeClassthe diagram and select "Show Base Class" in the drop-down list. At this point I get the error:

The HRESULT error E_FAIL was returned from a call to the COM component.

, -generic SomeClass, SomeClass , .

ActivityLog.xml ; Windows.

​​Visual Studio ( ); - ( , - , , )?

+6

All Articles