nAnt exercise #1  (work in progress)

The Problem

If these premises can define your problem, then nAnt can help solve it.

Premise #1: Your C# project has to be deployed onto different environments, for example:
  • Local
  • Dev
  • Test
  • Integration
  • QA
  • Training
  • Staging
  • Production
Premise #2: Certain files contain information that differ from environment to environment.

Premise #3: The web.config or app.config is not enough to contain all the variables.
This premise is actually important, because if all your variables are containedin the web.config file, then yo udo not need any tool external to Visual Studio.  VStudio 2010 has the power of pre-processing your web.config file.  You can see how to exploit that featuer on this post.

No comments:

Post a Comment

Followers (Guests)