我添加了Microsoft.TeamFoundation.Client
对C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0
我的Windows Metro
样式应用程序的引用。Set Copy Local = true
,但是当我尝试构建此项目时,出现错误:
错误 1 Invalid Resx file. This .resources file should not be read with this reader. The resource reader type is "Microsoft.TeamFoundation.Client.GzipResourceReader, Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Client.dll TFS Project Management
我无法copy local = false
在Windows Metro
Style 应用程序中设置,因为这DLL
没有复制到应用程序包(我会出现运行时错误Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
:)
Microsoft.TeamFoundation.Common.dll
工作正常,问题仅在于Microsoft.TeamFoundation.Client
.
我添加时的情况Microsoft.TeamFoundation.Client.dll
相同C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.Client\11.0.0.0__b03f5f7f11d50a3a
我该如何解决这个问题?非常感谢您的回答。