2016-05-16 75 views
2

OS:赢10位/ 64位 的Visual Studio版本:2015年无法投型 '系统.__ ComObject' 的COM对象的接口类型VsRunningDocumentTable4

当我TeamFoundation您在VS2015,返回错误象下面这样的消息。

Unable to cast COM Object of type 'System.__ComObject' to interface type Unable to cast 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable4'

This operation failed because the QueryInterface call on the COM component for the interface with IID '{86A4DA78-D580-4AE4-A1BE-F805BC663E04}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

我该如何检查TFS VS2015。

+0

您是否尝试卸载并重新安装VS2015? –

+0

是的...我已经卸载并重新安装。 – Popcorn

+0

如果您通过tf命令执行检入操作,它会工作吗?有关详细信息,请参阅此链接:https://msdn.microsoft.com/en-us/library/c327ca1z(v=vs.100).aspx –

回答

1

我解决了这个问题....尝试恢复程序Visual Studio 2015.(不卸载并重新安装只是恢复),那么,你可以正常运行它。

+0

@Jaider,是的,我今天遇到了这个问题,并且通过Repair我解决了这个问题。 –

相关问题