装配撞毁我的asp.net 4.0 [英] assembly crashing my asp.net 4.0

查看:118
本文介绍了装配撞毁我的asp.net 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误
无法加载从装配式'System.Runtime.CompilerServices.ExtensionAttribute'mscorlib程序,版本= 4.0.0.0,文化=中性公钥= b77a5c561934e089'。

每当我包括我的网站的bin目录quartz.net的dll文件,并在code引用它。
我相信它有错误的.NET框架做的。

whenever i include quartz.net's dlls in my web site's bin directory and reference it in code. I am sure it has to do with the wrong .net framework.

我的asp.net网站使用目标框架4.0
我使用的是.NET 4 quartz.net文件

my asp.net site is using target framework 4.0 i am using the .net 4 quartz.net files

和我的IIS应用程序池(经典.net库)设置为运行.NET 4.0 frework。

and my IIS app pool (classic .net pool) is set to run .net 4.0 frework.

我不知道从哪里开始,但我知道肯定有什么除去石英,我又好看(减去调度)

I am not sure where to start but what I know for sure is remove Quartz and I am looking good again (minus the scheduling)

推荐答案

这是在最终版本中引入的,因为Quartz.Net兑4.5框架编制了问题。看看<一个href=\"http://groups.google.com/group/quartznet/browse_thread/thread/979f36ebe960281e/74a25f0c9e1d898b?lnk=gst&q=4.5#74a25f0c9e1d898b\">this螺纹哪里报告问题。该DLL的固定版本。

This was a problem introduced in the final version because Quartz.Net was compiled against the 4.5 framework. Take a look at this thread where the issue was reported. A fixed version of the dll is available.

这篇关于装配撞毁我的asp.net 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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