Manual Removal of Eazfuscator.NET Integration from a Project
Article ID: KB100024Published: December 9, 2012
Synopsis​
Eazfuscator.NET can be integrated with a project to provide seamless obfuscation during the project build. If you uninstall Eazfuscator.NET then you may want to remove Eazfuscator.NET integration from the projects that were previously obfuscated by Eazfuscator.NET.
Instructions​
Please follow the instructions below to manually remove Eazfuscator.NET integration from a project. Instructions depend on a way Eazfuscator.NET is integrated with the project:
- SDK-style MSBuild Project
- MSBuild 2003 Project
- NuGet Package
- Command Line
-
Open the target project file in a text editor
-
Remove all Eazfuscator.NET imports and properties as illustrated below:
<Project>
…
<Import Condition=" '$(EAZFUSCATOR_NET_HOME)' != '' and Exists('$(EAZFUSCATOR_NET_HOME)IntegrationMSBuildEazfuscator.NET.targets') " Project="$(EAZFUSCATOR_NET_HOME)IntegrationMSBuildEazfuscator.NET.props" />
…
<PropertyGroup>
<EazfuscatorIntegration>MSBuild</EazfuscatorIntegration>
<EazfuscatorActiveConfiguration>Release</EazfuscatorActiveConfiguration>
<EazfuscatorCompatibilityVersion>2026.1</EazfuscatorCompatibilityVersion>
</PropertyGroup>
…
<Import Condition=" '$(EAZFUSCATOR_NET_HOME)' != '' and Exists('$(EAZFUSCATOR_NET_HOME)IntegrationMSBuildEazfuscator.NET.targets') " Project="$(EAZFUSCATOR_NET_HOME)IntegrationMSBuildEazfuscator.NET.targets" />
…
</Project>
-
Locate the target project in Solution Explorer window of Microsoft Visual Studio
-
Invoke the context menu of the project by clicking Right mouse button
-
Click on Properties menu item. Project properties window will appear
-
Select Build Events tab in the project properties window
-
Delete all text related to Eazfuscator.NET in the Post-build event command line as illustrated below:
-
Change the current directory to the one containing the target project
-
Run the following command:
dotnet remove package Gapotchenko.Eazfuscator.NET
-
Locate the shell script that invokes
eazfuscator.netcommand:eazfuscator.net … -
Remove the invocation of
eazfuscator.netcommand
Applicability​
This article applies to:
- Eazfuscator.NET 1.1 or higher