Exception loading assembly


I am trying to start my mod on the local server. However it requires System.Data.DataSetExtension assembly to be included. I have attched this library and got an error:

Could not load assembly System.Data.DataSetExtensions - loading exceptions: Exception loading assembly System.Data.DataSetExtensions: System.BadImageFormatException: 0x00000262FDC1C030
File name: 'In Memory assembly'

I have never seen less helpful errors… I am not able to understand what exactly is the problem.