如何解决hangfire.sqlserver程序集问题? [英] How to solve hangfire.sqlserver assembly issues?

查看:400
本文介绍了如何解决hangfire.sqlserver程序集问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我创建了一个普通的DB第一个解决方案,它在本地工作但是当我发布到服务器时我收到错误

Hi
I have a normal DB first solution I created, it working locally but when i publish to server I get error

Could not load file or assembly 'Hangfire.SqlServer, Version=1.4.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest.





我尝试过:



然后我尝试用版本1.4.3安装hangfire sqlserver但是没有任何作用



这里有什么想法吗?



What I have tried:

I then tried to install hangfire sqlserver with version 1.4.3 but nothing works

Any ideas whats happening here?

推荐答案

确保部署应用程序所需的所有DLL文件及其依赖项。



打开像Reflector或 [ Hangfire.SqlServer DLL文件http://ilspy.net/\"target =_ blanktitle =新窗口> ILSpy ^ ]并查看依赖项。
Make sure you are deploying all the DLL files needed by your application along with their dependencies.

Open the Hangfire.SqlServer DLL file in a tool like Reflector or [ILSpy^] and see what the dependencies are.


这篇关于如何解决hangfire.sqlserver程序集问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆