Basic Example

By Lex Li

This page shows you the basics about Obfuscar.

In this article:

Folder Structure

The example has been moved to a separate repository at GitHub .

Technical Details

Note

The example assumes you have Visual Studio 2017 installed.

The example consists of a solution that includes and executable and a dll.

The final executable project adds Obfuscar NuGet package from NuGet.org, and uses it in post build event to perform obfuscation.

The obfuscation settings are stored in an XML file (obfuscar.xml), and is copied to output directory by MSBuild.