Skip to content

Tutorial: about how to use Obfuscar Obfuscate your important C# code .even published as a single file

Notifications You must be signed in to change notification settings

Uchiha-Peng/Obfuscar.Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tutorial: about how to use Obfuscar Obfuscate your important C# code .even published as a single file

0.create a solution

# create a class library project. then create a console application and reference the class library

1.install obfuscar

Install-Package Obfuscar -Version 2.2.32

# or

dotnet add package Obfuscar --version 2.2.32

2.write obfuscar.xml and set always copy

<?xml version="1.0" encoding="utf-8" ?>
<Obfuscator>
	<Var name="InPath" value="." />
	<Var name="OutPath" value="./Obfuscator" />
	<Module file="$(InPath)/Lib.dll" />
</Obfuscator>

3.specify build events

cd $(TargetDir)
"$(Obfuscar)" obfuscar.xml
xcopy Obfuscator\*.dll   /y /e /i /q

4.build or publish your project

About

Tutorial: about how to use Obfuscar Obfuscate your important C# code .even published as a single file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages