Dotfuscator messing up Settings

rbulph

Junior Contributor
Joined
Feb 17, 2003
Messages
397
I have just started using dotfuscator. When I try to run the dotfuscated application it seems that none of the project settings (My.Settings) are recognised, and this causes an error. How do I fix this?
 
I have just started using dotfuscator. When I try to run the dotfuscated application it seems that none of the project settings (My.Settings) are recognised, and this causes an error. How do I fix this?

OK, I fixed this by excluding all the settings from obfuscation. But I now have a lot of problems with my application running in different ways when installed to how it does in development. For instance the splash screen freezes and cursors don't appear.

My feeling at the moment is that dotfuscator is useless and that I have no choice but to distribute my code non obfuscated.
 
At the end of the day is there anything in your code that is really worth obfuscating? Unless you have some really propriety algorithms that a 3rd party is likely to want to steal the benefits of obfuscation might be minimal compared to the trouble you are having getting it to work.
 
At the end of the day is there anything in your code that is really worth obfuscating? Unless you have some really propriety algorithms that a 3rd party is likely to want to steal the benefits of obfuscation might be minimal compared to the trouble you are having getting it to work.

Yes, I am concerned about a 3rd party stealing the code. I'm going to be very frustrated if it's this easy for them to do it.
 
Well I've had another look at this and things are working better. The problem seemed to be using an overload for the constuctor for cursors that took the name of a cursor resource as a string. But I've changed that to use a stream instead, and it's fine. If I run the dotfuscated application it works fine.

But when I deploy the application of course it doesn't work. As soon as it tries to access a setting I get the error "Configuration system failed to initialize". Any ideas what I'm doing wrong to cause this? Generally I'm a little unclear about exactly what I need to include and exclude in the setup project.
 
Back
Top