c# dll works on desktop but not on android


i have a dll that does stuff.

Now it completely works on the desktop (when i use play button) , but on the device itself it doesn’t seem to even call the methods in the dll.

Does anybody have a solution for this ?

I think it’s due to .net version diffrent. May be your dll is compplied using .Net 3.5 / 4.0, but unity works on Mono (.Net 2.0) so change your frmawork in visual studio project setting and recompile it. using .Net 2.0 framework, and if you using stripings then also add linker file for your all used namesapce which you have used in DLL files.