I was installing latest MonoX on our designer's machine and although it run fine, when I tried to upgrade our current database to it and run it I got:
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089'
I searched for that and found:
which says that the issue is cause because an attribute has changed assembly or namespace or something like that from .NET 4.0 to .NET 4.5. This shouldn't be a problem because of some type mapping being set in the system, but if you've used ILMerge with some wrong parameters then it can cause this error when machine doesn't have .NET 4.5 but only 4.0 and tries to load the merged assembly
from that the following are mentioned:
so I installed .NET 4.5 from:
rebooted the Win7 machine as prompted
and that issue seems to be fixed now, but I'm getting other error (please see separate post)