This is probably not the right place to put this, but I have no where else to go.
Every single time I press F7, it crashes. If I change the code, then press F5, it crashes. Every time I compile anything, it will crash. BUT, sometimes it succeeds, because after it crashes I can reload VC++ and I do not have to recompile. It is mainly just an extreme annoyance when debugging.
I tried to debug it, and it causes this issue:
An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualStudio.Shell.10.0.dll
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'.
This operation failed because the QueryInterface call on the COM component for the interface with IID '{6D5140C1-7436-11CE-8034-00AA006009FA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
I tried to de-register then re-register ieproxy.dll and actxpxy.dll through cmd prompt, but nothing works. I'm not sure how to continue.