I’m a solo developer looking into a tool such as MSBuild/NAnt to improve my build process. My project files are starting to get messy with post-build events and there are analysis tools I’d like to run some times and not others. I want to regain order and define everything into a build XML file.
My thoughts for build targets are:
- Debug Build: Designed for quick compilation and deployment. No code analysis or checks performed.
- Analysis Build: Performs Debug Build, code analysis and generates documentations.
- Deployment Build: Compiles with appropriate compiler flags for a release. Also performs same steps as Analysis Build.
Am I on the right track here? What build targets should I be using for .NET development?
We currently only use CI (continuous integration or debug build) and Release.
Debug build only consists of a compile, no code analysis, testing etc.
Release is where all the magic happens (same as they always say in MTV Cribs): versioning, code signing, packaging, compression, obfuscation, documentation, etc.
I can imagine another ‘Publish’ or ‘Deployment’-build target that does a Release and Publish to a test-server, where i decide when the release-version is ready to be pushed to our test-server.