Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different configuration for each module #451

Open
MichaelSvejcar opened this issue Dec 4, 2023 · 0 comments
Open

Different configuration for each module #451

MichaelSvejcar opened this issue Dec 4, 2023 · 0 comments
Labels

Comments

@MichaelSvejcar
Copy link

MichaelSvejcar commented Dec 4, 2023

Hello,

my app consists of multiple projects, that have dependencies on each other.
Is it possible to set Obfuscar in such a way, so that for each of these projects, Obfuscar will use different settings (different level of obfuscation), while still keeping the dependencies between those project working in the output?

So far, I have tried setting the KeepPublicApi and HidePrivateApi different for each < module > specified in the obfuscar.xml settings file, where each is referring to dll of one project. However, after examining the output in DotPeek, it looks like that the same setting, defined at the top level of the xml file, gets used for every module, regardless how the parameters are set under it's xml node.

Is there some way to achieve what I am describing, or is using different obfuscation settings for each module not possible at this time?

Thank you,
wish you nice Christmas holidays!

@lextm lextm added the question label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants