Step 1: Add the Data Theorem NuGet feed
Add our repository as a new package source:
...
And add the API credentials, leave the username as “DOTNET”. Mac/Linux only supports ClearTextPassword
, on Windows, you can add it as an encoded password via NuGet CLI.
Step 2: Install Data Theorem obfuscator as a global tool
Code Block |
---|
dotnet tool install --global datatheorem.obfuscator |
Step 3: Configure your project
In order to add the obfuscation step you will need to add a new task in your csproj that will modify the DLL created by your project. Add the following new target at the end of your csproj:
...