-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Protected variables are being renamed, but shouldn't #103
Comments
Can you provide an minimal example to reproduce this? |
Sure! Please find a small project attached. Removed from the ZIP, under \ConfuserEx it should be the content of https://github.com/mkaring/ConfuserEx/releases/download/v1.3.1/ConfuserEx.zip Build it and run .\Install\Confuse.bat Then run the app and it will crash:
Decompiling the DLL you can see the renamed variables:
They are protected strings defined within a public partial class Thanks! |
Protected properties are now not renamed anymore in case they are visible outside of the assembly.
Thank you for the example. I tracked the issue back. It was introduced by the changes for yck1509#462. I implemented the required changes. Please verify that the build you can download from the buildserver works for your actual project. |
It works! Thank you for the quick fix. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I was using version 1.0.0 without issues. In this version, public or protected members aren't renamed.
Using the latest v1.3.1 in this fork, the program fails because protected members are being renamed.
It is a web forms app. In a .ascx some protected members are referenced (defined in its code-behind file.
The text was updated successfully, but these errors were encountered: