Integrate with MSBuild
CodeFort comes with a prebuilt MSBuild task, which can be used to integrate the protection process into your build system. All you need to do is to specify the ".codefort" project file.
Of course, the task also has to be imported first - which is done by the UsingTask element. Make sure that the path to the CodeFort installation directory is correct. The sample uses the Free Edition of CodeFort.
See this example for how to use the task:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <UsingTask TaskName="CodeFort.Tasks.CodeFortBuildTask" AssemblyFile="C:\Program Files\Creatix\CodeFort Free Edition\CodeFort.Tasks.dll"/> <Target Name="MyTarget"> <CodeFortBuildTask ProjectPath="c:\path\to\my\project\MyProject.codefort" /> </Target> </Project>
Add comment

User Comments