Questions tagged «google-api-dotnet-client»


15
无法加载文件或程序集System.Net.Http.Primitives。找到的程序集的清单定义与程序集引用不匹配
我正在开发一个使用Google API的程序。但是,每次运行程序时,都会不断出现以下错误: 无法加载文件或程序集'System.Net.Http.Primitives,版本= 1.5.0.0,区域性=中性,PublicKeyToken = b03f5f711d50a3a'或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。 我正在使用Visual Studio 2012 Express。我尝试过此链接,并浏览了许多论坛,但似乎都没有用。主要问题似乎来自我引用的DLL文件“ Google.Apis.dll”,它引用了System.Net.Http.Primitives v1.5.0.0。但是,我的程序引用的版本是2.2.13.0。我尝试使用程序引用v1.5.0.0代替(我设法找到dll以及Google.Apis的源代码),但这仅引起了另一个问题,其中我需要更新版本的System.Net。 Http.Primitives。 我一直在尝试解决此问题的方法,但是似乎找不到任何可行的方法。谢谢您的时间。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.