Integrate Dotfuscator Professional into your MAUI projects. Once integrated, Dotfuscator automatically protects the project whenever you build it in Visual Studio, MSBuild, or another build system that supports MAUI. Integrating Dotfuscator in this way creates an app with a proven, layered protection strategy, regardless of the device it runs on.
Dotfuscator Professional's build integration for MAUI uses the same approach as other .NET platforms. However, unique aspects to the MAUI integration require your understanding before you begin.
Supported Project Types
Integrate Dotfuscator Professional into MAUI projects that produce apps for the following platforms:
- Android
- iOS
- WinUI 3
- Mac
- Tizen
If you are developing a cross-platform MAUI app, Dotfuscator sometimes requires unique configuration settings for each platform. For instance, Root Checks and Tamper Checks exclusive to Android, or a renaming exclusion is only necessary on iOS.
When Dotfuscator protects your projects, it also automatically protects all assemblies packaged as part of that project. You do not need to integrate Dotfuscator into library projects, such as NET Standard Libraries or Portable Class Libraries (PCLs), that are used by the output projects, because those libraries are automatically protected when packaged. For more information, see Choosing Which Projects to Protect.
For each project you integrate Dotfuscator into, decide what build configurations you want the protection applied to. The default configuration provided in the instructions protects Release, Ad-Hoc, and AppStore configurations. The Ad-Hoc and AppStore configurations apply only to iOS projects. For more information, see Choosing Which Configurations to Protect.
Supported Build Environments
Dotfuscator Professional's build integration runs as part of builds on both Windows and macOS build machines. Cloud-based build services also support Dotfuscator if they use these operating systems for their build agents. Examples include Azure DevOps Pipelines and Visual Studio App Center.
Dotfuscator must be installed and provisioned on each machine where the integrated project is built. When you build an iOS app using a Windows machine connected to a macOS machine over SSH, install Dotfuscator on the Windows machine. For details, see Build Agents.
Integration Instructions
To get started, follow the instructions on the Protect Your App page for integrating Dotfuscator into your MAUI project. By default, Dotfuscator uses a single configuration file for all targets. To use individual build configurations, refer to the Target Platform Specific Configuration guide.