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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.exeandExtended.dllare included.Nearly all protections are enabled on
Main.exe-- includingtypescrambleIf 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
typescramblebut 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.dllhas no issue calling methods/classes inMain.exewhentypescrambleis 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