COMException

May 4, 2010 at 9:30 AM
Edited May 4, 2010 at 9:54 AM

I'm getting a COM error in VSShellUtilities::GetUIHierarchyWindow

 ErrorHandler.ThrowOnFailure(shell.FindToolWindow(0, ref persistenceSlot, out frame));

System.Runtime.InteropServices.COMException was unhandled by user code
  Message=Error HRESULT E_FAIL has been returned from a call to a COM component.
  Source=mscorlib
  ErrorCode=-2147467259
  StackTrace:
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
       at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
       at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr)
       at Microsoft.VisualStudio.Project.UIHierarchyUtilities.GetUIHierarchyWindow(IServiceProvider serviceProvider, Guid persistenceSlot) in C:\Users\Phyx\Documents\VisualHaskell2010\MPF\Dev10\Src\CSharp\VSShellUtilities.cs:line 54
       at Microsoft.VisualStudio.Project.SolutionListenerForProjectOpen.OnAfterOpenProject(IVsHierarchy hierarchy, Int32 added) in C:\Users\Phyx\Documents\VisualHaskell2010\MPF\Dev10\Src\CSharp\SolutionListenerForProjectOpen.cs:line 37
  InnerException:

 Could this be because i'm overriding the buildengine in an efford to have a non-msbuild non-xml project?