When you try to generate type library information by using the Microsoft.VisualStudio.Shell.Interop.dll assembly in Microsoft Visual Studio 2008, you may encounter one of the following symptoms.
Symptom 1
When you use the Regasm.exe utility to generate and to register a type library, you may receive the following error message:RegAsm: error RA000 : Type library exporter encountered an error while processing "Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop". Error: Type 'SVsSolutionObject' and type 'SVsSolution' both have the same UUID.
Symptom 2
When you use the TlbExp.exe utility to generate a type library, you may receive the following error message:TlbExp : error TX0000 : Type library exporter encountered an error while processing 'Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop'. Error: Type 'SVsSolutionObject' and type 'SVsSolution' both have the same UUID.
Symptom 3
A Visual Studio 2008 package implements a property collection that is exposed by the EnvDTE.DTE.Properties property. If the collection is a member of an object that uses a type from the Microsoft.VisualStudio.Shell.Interop.dll assembly, the common language runtime (CLR) will not construct the necessary in-memory type library for the assembly. For example, the following Visual Studio macro that references the EnvDTE.DTE.Properties property will fail, and then you will receive an error message.Dim proj As Project = DTE.Solution.Projects.Item(1)
Dim props As Properties = proj.ConfigurationManager.ActiveConfiguration.Properties