Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 987063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:25:12+00:00 2026-05-16T05:25:12+00:00

If one will release a ClickOnce version, how can it be obfuscated by Dotfuscator

  • 0

If one will release a ClickOnce version, how can it be obfuscated by Dotfuscator?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:25:12+00:00Added an answer on May 16, 2026 at 5:25 am

    You can use the commercial version of Dotfuscator to automatically obfuscate a ClickOnce application by adding the deployment manifest (“foo.application”) as an input to your Dotfuscator project. Dotfuscator will allow you to add any necessary exclusions to the assemblies contained in the ClickOnce application and will create updated deployment and application manifests containing the obfuscated assemblies.

    The free version of Dotfuscator included in Visual Studio (including Visual Studio 2010) does not have the feature to automatically obfuscate ClickOnce applications. In order to get a functioning obfuscated ClickOnce application you will need to recreate or update the ClickOnce manifests since obfuscation changes the signatures of the assemblies.

    You can use mage.exe or mageui.exe (included in the Windows/.NET SDK) to update the ClickOnce manifests. If you are going to use mage.exe you need to be aware that you cannot use the “Use .deploy file extension” option in your ClickOnce options as it does not recognize it.

    Assuming your ClickOnce application is named “Foo” and is at version 1.0.0.0 the process you will want to follow is:

    1. Publish your ClickOnce application to a directory on disk
    2. Run Dotfuscator CE and add the assemblies you want to be obfuscated from the bin directory of your project
    3. Obfuscate the assemblies. The obfuscated assemblies will be put into a subdirectory named “Dotfuscated” by default.
    4. Resign your obfuscated assemblies with sn.exe (only if you initially strong named them)
    5. Copy the obfuscated assemblies over top of the ones in the ClickOnce publish\Application Files\Foo_1_0_0_0 directory
    6. Update the application manifest and resign it:

      mage.exe -Update “Application Files\Foo_1_0_0_0\Foo.exe.manifest” -CertFile “c:\Foo\foo.pfx” -Password password

    7. Update the deployment manifest and resign it:

      mage.exe -Update Foo.application -AppManifest “Application Files\Foo_1_0_0_0\Foo.exe.manifest” -CertFile “c:\Foo\foo.pfx” -Password password

    You now have a valid application and deployment manifest using obfuscated assemblies. You can also use the MageUI.exe tool to accomplish the same tasks (and it knows how to handle assemblies with the .deploy extension) but it is not as easy to automate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 517k
  • Answers 517k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Did you try to specify the path in your Derby… May 16, 2026 at 7:49 pm
  • Editorial Team
    Editorial Team added an answer You can declare one of the projects as a library… May 16, 2026 at 7:49 pm
  • Editorial Team
    Editorial Team added an answer The services are not returned in alphabetical order. You need… May 16, 2026 at 7:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Careless use of templates can cause bloat. One way to avoid that bloat is
As you can see in my question history, I'm developing a eBook manager, that
I'm working on a public release if a model using Fortran 9x and I'd
How do people here actually deploy a C# application?? I see a couple of
I'm currently developing a small WPF application using a file database (SQLCe). Since I'm
I would expect that after I push a view controller I then need to
If I have a class @interface Foo { NSString *temp; } @property(nonatomic, copy) NSString
I got started with F# back in the day (before VS2010 beta); at the
I've heard now from several sources (stackoverflow.com, cocoa-dev, the documentation, blogs, etc) that it
I want to use the in-app purchase in my app. Right now, I've created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.