Team Foundation 2010 - 工作项自定义控件要求程序集 Microsoft.TeamFoundation.WorkItemTracking.Controls,版本=8.0.0.0
我尝试创建自己的工作项自定义控件,但没有成功。 我认为这是我的代码中的某些内容,因此我从 codeplex 下载了自定义工作项控件。没用。
我收到一个奇怪的错误...
例如,当尝试添加 CheckBox 控件时:
无法加载 WorkItemCheckBox 控件。无法加载文件或程序集“Microsoft.TeamFoundation.WorkItemTracking.Controls,Version=8.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。 (HRESULT 的异常:0x80131040)
项目引用全部正确
我正在使用 Team Foundation 2010
我检查了 PrivateAssemblies 文件夹
还检查了 GAC
为什么它会查找版本 8.0 而不是 10.0 ?
提前致谢
I tried creating my own work item custom control, but without success.
I thought it was something in my code, so I downloaded the custom work item controls from codeplex. Didn't work.
I'm getting a weird error...
For instance, when trying to add a CheckBox control:
Failed to load WorkItemCheckBox control. Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The project references are all correct
I'm using Team Foundation 2010
I checked PrivateAssemblies folder
Also checked the GAC
Why the hell does it look for version 8.0 instead of 10.0 ?
Thanks in Advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可能是针对以前版本的 TFS 编译的。
这篇文章可能会帮助您修复它
http: //social.msdn.microsoft.com/Forums/eu/tfsworkitemtracking/thread/7e6ee51f-31f9-4859-8e9b-e081400576d7
It was likely compiled against a previous version of TFS.
This post might help you fix it
http://social.msdn.microsoft.com/Forums/eu/tfsworkitemtracking/thread/7e6ee51f-31f9-4859-8e9b-e081400576d7