Dotfuscator User's Guide
Visual Studio Integrated UI Quick Start

This section shows you how to use Dotfuscator from within Visual Studio. You can then include obfuscation as part of a Visual Studio solution build. A Dotfuscator project can accept input files from one or more other Visual Studio Projects (such as C# or VB.NET projects), or you can specify assemblies directly from a file browse dialog.

For a detailed guide to Dotfuscator's Visual Studio integration, see Using the Visual Studio Integrated User Interface under the Graphical User Interface Reference.

Additionally, an online demonstration is available at www.preemptive.com/demos.html.

Step 1 – Open the GettingStarted Solution with Visual Studio

Within Visual Studio, click on Open Solution, and browse to:

Getting Started
Copy Code
C:\Program Files (x86)\PreEmptive Solutions\Dotfuscator Professional Edition 4.x\samples\cs\GettingStarted\GettingStarted.sln

Step 2 – Create a Dotfuscator Project

Step 3 – Build the Solution

Note: ${configdir} is a variable that holds the path to your Dotfuscator configuration file.
Building the Solution
Copy Code
C:\Program Files (x86)\PreEmptive Solutions\Dotfuscator Professional Edition 4.x\samples\cs\GettingStarted\GetObfuscated\Debug\Dotfuscated

Within Solution Explorer, you can bring up Dotfuscator's Output Browser by double clicking the Output node in the GetObfuscated project. Here you can see the original and new names that Dotfuscator applied.

Next, with a little more configuration, we can use some of Dotfuscator's more powerful features.

Step 4 – Configure the Project Properties

Step 5 – Configure Obfuscation Settings

Step 6 – Rebuild the Solution

Rebuild the Solution
Copy Code
C:\Program Files (x86)\PreEmptive Solutions\Dotfuscator Professional Edition 4.x\samples\cs\GettingStarted\GetObfuscated\Debug\Dotfuscated

Step 7 – Browse the Output

 

Step 8 – Browse the Reports

Next Steps

Now that you have successfully obfuscated an application inside of Visual Studio, you can use the command line interface to do the same things. Or you can examine the obfuscated output assembly in detail and see how effective the obfuscation was.

To continue learning about Dotfuscator's Visual Studio integration, see Using the Visual Studio Integrated User Interface.

See Also

GUI Guide

Getting Started

 

 


© 2016 PreEmptive Solutions, LLC. All Rights Reserved.

www.preemptive.com