Visual studio Visual studio 2015更新2。团队资源管理器不工作
我将VS2015更新为更新2 升级过程完成得很好,但在启动后,无法访问团队资源管理器 下面的callstack有一个bugVisual studio Visual studio 2015更新2。团队资源管理器不工作,visual-studio,visual-studio-2015,Visual Studio,Visual Studio 2015,我将VS2015更新为更新2 升级过程完成得很好,但在启动后,无法访问团队资源管理器 下面的callstack有一个bug 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\ActivityLo
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
---------------------------
我还可以检查什么?我将Microsoft.TeamFoundation.WorkItemTracking.Client.dll放入Gac,这很有帮助。我关闭了团队资源管理器窗口,然后关闭了visual studio。我再次打开visual studio,进入“查看”菜单并单击Team Explorer。它弹出一个带有异常的消息框,再次尝试打开de Team Explorer窗口,然后开始工作。@MrBeanzy是的,请参见下面的答案。完成此操作后是否必须重新启动?您是否将其添加到“C:\Windows\Microsoft.NET\assembly\”中,其中有三个文件夹?如果是,哪个文件夹?@Bryan我用gacutil将程序集放到gac。它会自动检测正确的文件夹。之后你需要重新启动VS。我刚刚关闭并打开了团队资源管理器窗口,它又开始工作了。早些时候,我也记得我做过同样的事情,但是没有用!!但是,再试一次就成功了。可能是多次重启之间也有帮助。我不确定。无论如何,谢谢你:)