How should I configure ConfuserEx to support optional libraries without jeopardising security? #503
Unanswered
I-Knight-I
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My project is setup as follows:
Main.exe
- WinForms application with core functionalityExtended.dll
- Optional library which extends functionality inMain.exe
(if present)In my .crproject, both
Main.exe
andExtended.dll
are included.Nearly all protections are enabled on
Main.exe
-- includingtypescramble
If I attempt to use the extended functionality provided by the optional library, the program raises an exception
System.MissingMethodException: Method not found: '?????????????????????????????????????????[]
This can be fixed if I disable
typescramble
but severely jeopardises security. I know I can use Expression Functions to disable it for certain items but would ideally like to keep everything enabled. It also seems like onlynamespace('Namespace')
works for me, nothing else.How can I configure ConfuserEx such that
Extended.dll
has no issue calling methods/classes inMain.exe
whentypescramble
is enabled? Part of me believes it should be possible by linking them together at compile-time/obfuscation-time and simply separating them after but that doesn't seem to work.Cheers in advanced.
Beta Was this translation helpful? Give feedback.
All reactions