Obfuscar 2.2.3

Obfuscar is a basic obfuscator for .NET assemblies. It uses massive overloading to rename metadata in .NET assemblies (including the names of methods, properties, events, fields, types and namespaces) to a minimal set, distinguishable in most cases only by signature.

There is a newer version of this package available.
See the version list below for details.
Install-Package Obfuscar -Version 2.2.3
dotnet add package Obfuscar --version 2.2.3
<PackageReference Include="Obfuscar" Version="2.2.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Obfuscar --version 2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Obfuscar, 2.2.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Obfuscar as a Cake Addin
#addin nuget:?package=Obfuscar&version=2.2.3

// Install Obfuscar as a Cake Tool
#tool nuget:?package=Obfuscar&version=2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 2.2.3
* Disable string hiding.

Version 2.2.2
* Updated Mono.Cecil.
* Fixed GitHub#85 Initial patch for .NET Core assembly obfuscation.

Version 2.2.1
* Fixed GitHub#83 Some resources files are not renamed.

Version 2.2.0
* Fixed GitHub#71 Added RenameFields option.
* Fixed GitHub#72 Added SkipEnums option.
* Fixed GitHub#73 MissingMethodException in some generic method case.
* Fixed GitHub#74 Graph class might enter an infinite loop.

Version 2.1.0
* Fixed GitHub#60 Type forwarding in System.Runtime is not properly supported.
* Fixed GitHub#61 String hiding should skip resource manager creation methods.

Version 2.0.4
* Fixed CodePlex#30 HideStrings setting does not work as documented.
* Fixed CodePlex#31 SkipStringHinding does not work.
* Fixed CodePlex#32 ForceStringHiding and related are added.

Version 2.0.3
* Fixed GitHub#58 "protected internal" property/method is not treated as public API.
* Fixed GitHub#59 Special enumerator leads to InvalidOperationException in TypeKey class.

Version 2.0.2
* Fixed GitHub#47 F# compiler can now be obfuscated.
* Fixed GitHub#55 The default value for the ObfuscatorAttribute is different.
* Fixed GitHub#56 SuppressIldasm setting is spelled as SupressIldasm in config.
* Fixed CodePlex#7 Avoid creating invalid overriding methods during obfuscation.
* Fixed CodePlex#9 Added command line options (help and version). Multiple project files can also be processed now.

Version 2.0.1
* Fixed CodePlex#12 BAML reader error.
* Fixed CodePlex#13 Nested classes are obfuscated wrongly.
* Fixed CodePlex#17 PCL library wrongly refers to .NET 4 mscorlib.
* Fixed CodePlex#20 Environment variable support.
* Fixed CodePlex#24 MarkedOnly option does not always work.

Version 2.0.0
The changes since last commit on Google Code include,
* Merged all patches from RemObjects' fork.
** Unicode chars can be used as obfuscated names.
** Better dependency resolution.
** Various other small fixes.
* Merged patches from @AngryAnt (Emil Johansen)'s fork
** Korean chars can be used as obfuscated names.
** New tags are introduced (I could not yet verify every one, as there is no corresponding unit test cases).
* Add an option to automatic exclude of public types and members so that public API is kept.
* Add an option to automatic include all non-public types and members so that private API is obfuscated.
* Add Force* rules to supplement Skip* rules.
* Various bug fixes.

Dependencies

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Obfuscar:

Package Downloads
MSBuild.Obfuscar
Build targets interface for Obfuscar
Humbatt.MSBuild.Obfuscar
Build targets interface for Obfuscar

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Obfuscar:

Repository Stars
ariacom/Seal-Report
Open Database Reporting Tool (.Net)

Version History

Version Downloads Last updated
2.2.30 65 4/15/2021
2.2.29 7,638 12/6/2020
2.2.28 44,805 8/22/2020
2.2.26 18,497 4/8/2020
2.2.25 26,772 10/24/2019
2.2.24 9,306 8/1/2019
2.2.23 3,996 7/7/2019
2.2.19 2,360 5/7/2019
2.2.18 34,787 2/2/2019
2.2.16 804 1/31/2019
2.2.15 4,731 1/9/2019
2.2.14 9,424 11/21/2018
2.2.13 23,564 8/18/2018
2.2.12 21,855 7/1/2018
2.2.11 13,286 1/1/2018
2.2.10 3,734 11/17/2017
2.2.9 2,966 9/15/2017
2.2.8 1,196 8/30/2017
2.2.7 695 8/26/2017
2.2.6 12,629 6/17/2017
2.2.5 3,034 5/10/2017
2.2.4 1,879 3/31/2017
2.2.3 3,598 12/10/2016
2.2.2 4,248 9/22/2016
2.2.1 4,204 7/16/2016
2.2.0 3,775 4/30/2016
2.1.1 2,590 3/2/2016
2.0.3 946 2/6/2016
2.0.2 1,393 1/24/2016
2.0.1 2,338 4/14/2015
2.0.0 1,893 3/1/2014
Show less