Application crashes if used Dotfuscator

A

Ashu

Hi,
I am trying to use Dotfuscator (community edition)...but when I run the
generated exe file, it crashes. I haven't configured anything in
Dotfuscator.

What can be the reason for this? How can this be resolved?

Also, the application I have has around 10 classes which are being XML
serialized, it also has one class which is being remoted....I don't want
to obfuscate these classes. How can I do that? I think I need to apply
some attributes! If yes which ones??

Regards,
Ashu
 
J

Jeroen Mostert

Ashu said:
I am trying to use Dotfuscator (community edition)...but when I run the
generated exe file, it crashes. I haven't configured anything in
Dotfuscator.

What can be the reason for this? How can this be resolved?
By contacting the customer service of Preemptive Solutions, I'd wager. Note
that Dotfuscator is not a Microsoft product and they don't offer support.

I'm aware of at least one bug in Dotfuscator that causes it to emit invalid
IL. You can verify this is the case by running "peverify.exe" on the
dotfuscated output (start the Visual Studio Command Prompt for this). If it
reports an error, you've hit one of these. You can try working around it by
more or less randomly modifying the method the error is reported in to see
if problems disappear. Adding dummy statements often works well.

I don't know if Preemptive has patches or downloads for the Community Edition.
Also, the application I have has around 10 classes which are being XML
serialized, it also has one class which is being remoted....I don't want
to obfuscate these classes. How can I do that? I think I need to apply
some attributes! If yes which ones??
Try [System.Reflection.Obfuscation(Exclude=true)]. If that doesn't work,
you'll have to hit the documentation. You can use configuration files to
tell Dotfuscator what to obfuscate and how, but again, I don't know how (and
if) this works for Community Edition.
 
J

\Ji Zhou [MSFT]\

Hello Ashu,

For this issue is related to the Dotfuscator Community version which is not
supported by Microsoft. We recommend you to contact the PreEmptive support
via the following entry,

http://www.preemptive.com/support/index.html

Thank you for your understanding! Have a nice weekend!


Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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