Search code examples
.netcontinuous-integrationcruisecontrol.netobfuscation

Cruise Control and Obfuscation, How?


this is my first question to stackoverflow so here it goes...

I use cruise control for my continuous integration scheme, i want to use obfuscation in order to add another protection layer to my assemblies. The thing is that i don't know how to go about it since i couldn't find articles describing about this. Suggestions that include other CI tools such as NAnt are also accepted.

Commercial tools are also an option so don't hesitate to include them in your answer. The applications that i am building and want to obfuscate are mostly written in Compact Framework 2.0, Dot Net 2.0-3.5.

At the moment cruise control checks for changes in the repository, then based on the script for the specific solution downloads and builds the project by using devenv, after the setup project has been run it copies the setup file into a different folder and thats more or less it. So i need obfuscate somewhere in this process..


Solution

  • @konstantinos.konstantinidis.myopenid.com: your problem seems to be with the setup project not the continuous integration server.

    You have the setup project picking up the primary outputs for the project.

    Change it to use file references to the outputs. It's a little more configuration in the setup project but I think you can still achieve all the same functionality.

    That way you can pick up your obfuscated assemblies from whatever staging directory your obfuscation tool is dumping them into.