Visual Studio Tip

February 23rd, 2005

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

David Starr Esoterica

Comments are closed.