Compiling Source Code

By Lex Li

This page shows you how to compile the source code of Obfuscar.

In this article:

Source Structure

The Git repository contains most of the source files, except BAML parsing files, which comes from a submodule of ConfuserEx.

Compilation Steps


Assume that you have latest Visual Studio 2017/2019 installed.

  1. Clone the Git repository from

  2. Make sure ConfuserEx submodule is checked out.

  3. Open Obfuscar.sln in Visual Studio and compile.


Alternatively, run dist.pack.bat to compile via command line.