Closed yenyen closed 9 years ago
It is caused by the library ConfuserEx used to do multithreading (System.Threading.dll) being only supported on Windows.
+1 On making it work on Mono on Mac :)
I needed to do this, and after some poking around found that a NET45 build of ConfuserEx (generated by running "Build.cmd NET45") would run comfortably on OS X, since it uses the standard library for System.Threading functionality rather than a bundled assembly, and Mono's standard library includes it.
I needed to add <probePath>/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5/</probePath> to the project file for it to work, but once I'd done that and integrated running it into the build process it worked smoothly.
@jbeshir : Thank you for your answer. I tried your command but it didn't work. Instead, I forked the repository and change the targets of all .Net 3.5 projects (and remove dependency to System.Threading). Now everything run fine on OSX. Here is the link to my fork : yenyen/ConfuserEx
Hi,
I'm trying to use Confuser.CLI.exe (latest release) from Mac OSX with Mono 3.10. I have allways this error :
I tried with the same crproj file from Windows without any problem. Here the crproj file :
Thank you, Aurélien Thévoz