23 Feb
2005

Visual Studio Tip

Need to generate a properly named app.config file at compile time to go with your test
suite assembly?

In the Project Properties Dialog of Visual Studio, go to:

  1. Common Properties
  2. Build Events
  3. Post-Build Event Command Line
  4. and enter the following:
    copy $(ProjectDir)\App.config $(TargetDir)\$(TargetFileName).config