SYMPTOMS
When you attempt to build a Class Library project in Visual Basic .NET 2002, and the project exposes a
Collection type through Component Object Model (COM) interop, the build may fail with the following error message:
COM Interop registration failed. Error loading type library/DLL.
In Visual Basic .NET 2003, you receive the following error message:
COM Interop registration failed. Could not find a type library for assembly 'Microsoft.VisualBasic'.
In Visual Basic 2005, you receive the following error messagess:
error MSB3211:The assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered for COM Interop. Please register it with regasm.exe /tlb.
error MSB3212: Error: Error loading type library/DLL.