Got two errors when building the PowerGUI VSX project

Jul 18, 2012 at 6:55 PM

Hi All,

I tried to build the PowerGUI VSX project so that I can go through it by debugging to learn about the custom debug engine. I got two errors from the building:

Error 5 The assembly 'Microsoft.VisualStudio.Debugger.InteropA,
Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is
not registered for COM Interop. Please register it with regasm.exe
/tlb. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets
3341 9 PowerGuiVsx.Core.DebugEngine

Error 6 The assembly
"C:\powerguivsx-97578\Extension\Output\PowerGuiVsx.Core.DebugEngine.dll"
could not be converted to a type library. Type library exporter
encountered an error while processing
'Ard.PowerGuiVsx.Core.DebugEngine.ScriptProgramProvider,
PowerGuiVsx.Core.DebugEngine'. Error: Error loading type library/DLL.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets
3341 9 PowerGuiVsx.Core.DebugEngine

I'm using the VS 2010 Ultimate with the VS 2010 SDK SP1. Does anyone happen to encounter the same errors before and know how to resolve them?

Thanks,

Dongbo

Coordinator
Jul 20, 2012 at 2:52 PM

That is actually a bug with Visual Studio. That particular assembly really isn't registered. I had to go and find the assembly and register it with regasm to get it to build properly.  This is where mine is located: C:\Program Files (x86)\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Debugger.InteropA.dll I think the second error will go away once you correct the first.