VS2015团队资源管理器更改选项卡错误 [英] VS2015 Team Explorer Changes tab error
问题描述
我现在在两个不同的机器上的Team Explorer的更改选项卡上的Visual Studio 2015中出现此错误:
I have gotten this error in Visual Studio 2015 on the changes tab of Team Explorer on two different machines now:
System.TypeLoadException: Could not load type 'Microsoft.TeamFoundation.WorkItemTracking.Client.QueryDefinition2' from assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at Microsoft.TeamFoundation.Git.Controls.PendingChanges.GitPendingChangesModel..ctor(IServiceProvider serviceProvider, IGitPendingChangesProvider dataProvider, TaskFactory taskFactory)
at Microsoft.TeamFoundation.Git.Controls.PendingChanges.GitPendingChangesPage.CreateModel(PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerPageBase.Initialize(Object sender, PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Git.Controls.GitTeamExplorerPageBase.Initialize(Object sender, PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Git.Provider.PendingChanges.GitPendingChangesPageVS.Initialize(Object sender, PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerPageHost.Initialize(TeamExplorerPageContext context)
我无法找到有此问题的其他人的记录。我找不到让它消失的方法,也不知道为什么它会出现。它刚刚开始发生一天,现在我再也无法使用"更改"选项卡。其他标签可以工作,但是为了改变,我必须在命令提示符或其他工具中执行
所有内容,这是令人沮丧的。
I can't find record of anyone else having this issue. And I cannot find a way to make it go away, nor do I know why it appears. It just started happening one day and now I can no longer use the Changes tab. The other tabs work but for change I have to do everything at the command prompt or in another tool, which is frustrating.
任何想法?
推荐答案
感谢您在此处发帖。
我建议你查看你引用的DLL的版本。
请通过以下链接了解更多信息并告诉我们
http://forums.asp.net/t/1182823.aspx?Could+not+load+type+namespace+User+from+assembly+assemblyName+Version+1+0+0+0+Culture+neutral+PublicKeyToken+null+
http://stackoverflow.com/questions/124841/could-not-load-type-从汇编错误
希望它有所帮助!
问候,
这篇关于VS2015团队资源管理器更改选项卡错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!