Team Foundation Server Sample中的InvalidProgramException异常 [英] InvalidProgramException in Team Foundation Server Sample
问题描述
在尝试运行名为C#Example.WorkItemBrowser的示例项目时,我收到一个System.InvalidProgramException异常。
当我尝试执行这些行时,异常也会出现:
Hi I get an System.InvalidProgramException while trying to run the Example Project called "C# Example.WorkItemBrowser". The Exception also apears when I try to execute these lines:
TeamFoundationServer tfserver = new TeamFoundationServer("http://localhost:8085");
tfserver.EnsureAuthenticated();
WorkItemStore store = new WorkItemStore(tfserver);
Console.WriteLine(store.Projects.Count);
我正在使用2008年Visual Studio SDK。
I'm using the 2008 Visual Studio SDK for that.
PE验证汇编Microsoft.TeamFoundation.WorkItemTracking.Client.dll
PEverify for the assembly Microsoft.TeamFoundation.WorkItemTracking.Client.dll
得到这个otuput:
got this otuput:
[MD]: Error: Value class has neither fields nor size parameter. [token:0x020000B3]
[MD]: Error: Value class has neither fields nor size parameter. [token:0x020000BF]
[MD]: Error: Value class has neither fields nor size parameter. [token:0x020000C4]
3 Error(s) Verifying Microsoft.TeamFoundation.WorkItemTracking.Client.dll
新的下载和安装SDK以及卸载和安装以及安装.net 3.5 sp1再次没有帮助。
A fresh download and install of the SDK as well as deinstall and install as well as installing .net 3.5 sp1 again didn't help.
有问题吗
推荐答案
这篇关于Team Foundation Server Sample中的InvalidProgramException异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!