Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 705 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 705 Bytes

Cake.Dotfuscator

只在 Dotfuscator Professional Edition 4.9 上测试通过。

暂不支持 nuget.

使用说明

将生成的 Cake.Dotfuscator.dll 拷贝到 tools/Addins/

#r tools/Addins/Cake.Dotfuscator.dll

Example usage:

Task("Dotfuscator")
    .IsDependentOn("Build")
    .WithCriteria(isRunningOnWindows)
    .Does(() => {
   
         var files = new string[] 
        { 
            "a.exe", 
            "b.exe",
            "c.dll",
            "d.dll",
            "e.dll",
            "f.dll"
        };

        Dotfuscator(files, new DotfuscatorSettings(){
            OutputDir = binDir,
            WorkingDirectory = binDir,
        });

});