c# - Rest Sharp 组件的例外情况
问题描述
我遇到以下错误消息:
Error Message : threw exception:
System.IO.FileLoadException: Could not load file or assembly 'RestSharp, Version=106.6.10.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
解决方案
转到 Nuget 包管理器并更改 Rest Sharp 的版本并安装它。问题将得到解决。
推荐阅读
- spring - Spring Web Flow:将视图状态信息添加到 URL
- entity-framework - EF将数据类型从字符串更改为int,迁移期间如何删除和添加列
- c++ - 类偏特化继承方法
- mysql - MySQL Query 未选择所有行
- jwt - 将 REST API 响应作为输出声明返回给 Azure B2C
- pytorch - 如何使用条件匹配两个不同 pytorch 张量中的值
- postgresql - PostgreSQL 中的 LISTAGG 等价物
- amazon-web-services - 需要将 Userdata 脚本从一个 ec2 实例复制到另一个 ec2 实例
- java - 使用 JAXB 手动编写 XSD 和生成的 java 类导致 UnmarshallException
- python-3.x - Dask 应用自定义功能