ClickOnce Deploy
Last updated
Was this helpful?
Last updated
Was this helpful?
In ClickOnce deployment, the Babel task is configured to obfuscate the target assembly just after the Compile step.
Open the Visual Studio .csproj file and append the following MSBuild instructions before the Project close element.
Note that the InputFile and OutputFile task attributes are set to intermediate build output. This will allow Visual Studio to create the ClickOnce deployable package using the obfuscated target assembly.
If you have the Babel.Obfuscator NuGet package, there is no need to set up the Babel task in your project file. Just adds the NuGet package reference to your project.
the example source code.