Visual Studio 2015更新2.团队资源管理器无法正常工作

时间:2016-04-01 08:35:08

标签: visual-studio visual-studio-2015

我更新了VS2015以更新2.

升级过程很好,但在启动后失去了对Team explorer的访问权限。

以下的callstack存在错误。

    An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\volkov.a\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml".

Exception details:
System.InvalidOperationException: The window search was not yet setup for this search host.
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowSearchHost.ThrowIfSearchNotSetup()
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowSearchHost.set_HelpTopic(String value)
   at Microsoft.VisualStudio.TeamFoundation.TeamExplorer.ToolWindowTeamExplorer.OnToolWindowCreated()
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

我尝试修复并重新安装。没有结果。

此外,我在发布时遇到异常:

---------------------------
Microsoft Visual Studio
---------------------------
Error HRESULT E_FAIL has been returned from a call to a COM component.
---------------------------
OK   
---------------------------

我还能检查什么?

2 个答案:

答案 0 :(得分:1)

我把Microsoft.TeamFoundation.WorkItemTracking.Client.dll放到Gac上,这有帮助。

答案 1 :(得分:1)

我关闭了Team Explorer窗口,然后关闭了Visual Studio。我再次打开Visual Studio,转到视图菜单,然后单击Team Explorar,它抛出一个异常提示框,然后再次尝试打开Team Explorer Windows,然后开始工作。

相关问题