You can use MSBuild integration of Spices.Net Obfuscator to embed Spies.Obfuscator task into Visual Studio tasks and use within VS build process. More about MSBuild integration, and how to embed MSBuild integration into VS build process you can read in the Spices.Net Manual, Spices.Obfuscator\MSBuild Integration chapter topics