dotfuscator & delegates & deployment

R

Robbie De Sutter

Hello,

When I use the dotfuscator (Community Edition), all my delegate
functions no longer work.

I understand the reason why (the function in my delegate no longer
exists under the name I try to called it due to the obfuscation
process), but I don't know how to solve the problem except by excluding
the classes I delegate to...

However this solution is not satifactory (because the huge amount of
delegates and classes).

Is there an other solution?


Second problem: how can I automatically add the obfuscated exe into a
deployment project (so the principle output of a project is first
obfuscated before added to the project?

tia,
Robbie De Sutter
 
P

phoenix

Robbie De Sutter said:
Hello,

When I use the dotfuscator (Community Edition), all my delegate
functions no longer work.

I understand the reason why (the function in my delegate no longer
exists under the name I try to called it due to the obfuscation
process), but I don't know how to solve the problem except by excluding
the classes I delegate to...

However this solution is not satifactory (because the huge amount of
delegates and classes).

Is there an other solution?


Second problem: how can I automatically add the obfuscated exe into a
deployment project (so the principle output of a project is first
obfuscated before added to the project?

tia,
Robbie De Sutter

I use the free open-source one made by Dan Appleman
(http://www.desaware.com). It's still there somewhere but pretty hard to
find. However you can find a copy at
http://www.abderaware.com/WhitePapers/Obfuscator.htm with a little
explaination on how to use it. It's just a matter of not obfuscating certain
things I think.

Yves Dhondt
 
J

Jay B. Harlow [MVP - Outlook]

Robbie,
How are you creating your delegate?

There is a way in dotfuscator (Community Edition), to go in and state that
it should leave certain names alone. I have not used dotfuscator enough yet
to tell you how.

I would start by investigating the rename options.

Hope this helps
Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top