-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dapper项目引用找不到 #11
Comments
刚测试也发现了这个问题,同时更新dapper及System.Data.SqlClient为最新版后解决了 |
只更新哪个项目的Dapper? |
对应安装过的都替换成新版了 |
dapper 1.50.5 |
我把相关类库中所有dapper和System.Data.SqlClient 升级到最新版,还是报那个错 |
不应该啊,你在web里面再安装一个System.Data.Common 4.3.0试试 |
好了,除了System.Data.Common 还需要在web里引用System.Data.SqlClient 就可以了。 还有就是 既然ENode 出现版了,作者还不出新的用法DEMO,这样如果项目里升级了各种报错 |
啊对,是要引用一下。我估计汤总平时也比较忙。。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先我更新了解决方案的Nuget, 发现在BrokerService EventService和Web的Bootstrap.cs中有几个API发生变化,ENodeConfiguration的扩展方法InitializeSqlServerEventStore InitializeSqlServerLockService InitializeSqlServerPublishedVersionStore需要配置连接串参数。
然后是QueryService.Dapper项目的Dapper更新到1.50.4后运行时会提示找不到Dapper.dll,降级为1.50.2后提示
System.IO.FileLoadException:“Could not load file or assembly 'System.Data.SqlClient, Version=4.2.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”
Nuget里找不到4.2.0.1这个版本的SqlClient
The text was updated successfully, but these errors were encountered: