Open AkanshDivker opened 3 years ago
What version of ConfuserEx are you using? Have you tried the latest build from CI? https://ci.appveyor.com/project/mkaring/confuserex/branch/master/artifacts
What version of ConfuserEx are you using? Have you tried the latest build from CI? https://ci.appveyor.com/project/mkaring/confuserex/branch/master/artifacts
I was using 1.4.1 but I just tried from CI and I'm getting the same error.
Issues with the name protection usually come up in case you are using Reflection or another library that relies on reflection heavily (e.g. WPF). I am guessing that could be a problem you are encountering here.
But without more information that is very difficult to say.
If you are confusing your assembly, consider using il-repack or ilmerge to merge your dependencies into the main assembly, which may provide better protection than Costura which leaves a lot stuff un-renamed in your main assembly.
I've got a project in which I would prefer using Costura. When confusing my main assembly, either with or without Costura, it fails to load the dependencies of my project. If it's not possible I can live without Costura, but I'm not sure why even just confusing my main assembly causes it to be unable to load its dependencies (same folder).
EDIT:
After some more investigation it seems that I'm getting errors when I try to enable rename protection. Since this is one of the main irreversible protections, I'd appreciate some help figuring out why it's throwing errors on runtime.
Im not sure if this will help, but it has definitely confused the assembly for me while using Costura follow these steps
Even if this doesn't help the OP , maybe it helps someone else looking for a similar solution
Step 1 : Disable costura by removing the line
I've got a project in which I would prefer using Costura. When confusing my main assembly, either with or without Costura, it fails to load the dependencies of my project. If it's not possible I can live without Costura, but I'm not sure why even just confusing my main assembly causes it to be unable to load its dependencies (same folder).
EDIT:
After some more investigation it seems that I'm getting errors when I try to enable rename protection. Since this is one of the main irreversible protections, I'd appreciate some help figuring out why it's throwing errors on runtime.