I am getting this error
“could not load type ‘System.Runtime.CompilerServices.ExtensionAttribute’ from assembly ‘mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.”
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.
my asp.net site is using target framework 4.0
i am using the .net 4 quartz.net files
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)
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.