草庐IT

TeamFoundation

全部标签

c# - 试图加载格式不正确的程序。 Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader

我正在编写一个从TFS获取错误的应用程序。当我在安装了运行Windows8的visualstudio的机器上运行这个程序时,它工作正常。当我在我的一台运行Server2008R2和Windows7的虚拟机上运行这个程序并安装了VisualStudioAgent时,它会抛出以下异常Erroroccured:Couldnotloadfileorassembly'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader,Version=11.0.0.0,Culture=neutral,PublicKeyToken=b03

c# - 命名空间 'TeamFoundation' 中不存在类型或命名空间名称 'Microsoft'

我在使用.net4.0的ASP.NETMVC4应用程序中添加了以下引用。我还在我的应用程序中包含了命名空间,但我仍然看到以下错误:Reference:Microsoft.TeamFoundation.Client.dllC:\ProgramFiles(x86)\MicrosoftVisualStudio12.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Client.dll"Thetypeornamespacename'TeamFoundation'doesnotexistinthenamespace'M