Open cozy1 opened 8 years ago
So I got ConfuserEx to work. Figured I would post my fix here to maybe help others. I moved all source code for the library dependencies into the main project itself. This eliminated the need to use ILMerge. Confirmed that using the ConfuserEx Packer was causing the CS0009 error in my project with or without ILMerge. After eliminating the use of ILMerge, determined that I could not use ConfuserEx protection 'rename' or protection ' anti dump' as these caused other exceptions. My final maximum rule set that works with my project is:
`
`
Please let me know if there is something I could do to get ConfuserEx Packer feature to work with my project.
Hi,
You may need to use the compat
parameter for packer. You can read the wiki for more details on it.
how i can use the compat parameter for packer?
This https://github.com/yck1509/ConfuserEx/issues/406 corrected my initial problem. But now the old https://github.com/yck1509/ConfuserEx/issues/170 CS0009 error is back again.
\ Exception Text ** System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS0009: Metadata file 'd:\Documents and Settings\Administrator...' could not be opened -- 'Error importing module 'koi' of assembly 'd:\Documents and Settings\Administrator...' -- The system cannot find the file specified. '
I am using ILMerger first and then ConfuserEx (g1461ce7) on the project. Normal protection settings with the Packer feature.
Thanks for the help.