-
Notifications
You must be signed in to change notification settings - Fork 857
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
升到1.7之后 An assembly specified in the application dependencies manifest (BXJ.WeAppApi.deps.json) was not found: package: 'Microsoft.Data.SqlClient.SNI.runtime', version: '2.0.0' path: 'runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb' #398
Closed
Comments
freesql.provider.sqlserver 1.7.0 的adonet 换成了 microsoft.data.sqlclient,写个新的 coreapp31 demo 发布试试看会不会这样。 |
就是最新建的。我还还没有写数据库的一行代码。连注入的代码都没有写。 |
我换成了1.6就可以了。 |
没办法微软推荐新的 adonet,被迫换的。 因为市面上其他开源项目换了,我们不换的话交互会有问题 |
那看来要去那边提问了。 |
你先问看怎么解决,有办法的话回复到这里。 实在没办法的话,我后面发布多一个 freesql.provider.sqlserverForSystem 包 |
没事,我新建一个,直接用那个。看看有没有问题。 |
我已经看到了。sni加载不了。很多人报。 |
遇到同样的问题,请参考此解决方案。 |
|
2881099
changed the title
升到1.7之后,无法运行了
升到1.7之后 An assembly specified in the application dependencies manifest (BXJ.WeAppApi.deps.json) was not found: package: 'Microsoft.Data.SqlClient.SNI.runtime', version: '2.0.0' path: 'runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb'
Aug 1, 2020
2881099
pushed a commit
that referenced
this issue
Aug 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
主要的问题是,当我使用了独立发布之后,运行不起来了。我觉得应该不能在此提这个问题
我的配置是
.net core 3.1
独立
win-64
然后运行exe,会提示。
An assembly specified in the application dependencies manifest (BXJ.WeAppApi.deps.json) was not found:
package: 'Microsoft.Data.SqlClient.SNI.runtime', version: '2.0.0'
path: 'runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb'
老是这个提示
The text was updated successfully, but these errors were encountered: