Posts
1150
Comments
891
Trackbacks
1
How do I get NUnit to see the app.config I need to test a Windows Form?

Thanks to Ryan Scott for this:

The following post-build event will relocate and rename a configuration file for use by NUnit

copy "$(ProjectDir)App.config" "$(TargetDir)$(TargetFileName).config"

To test from debugger:

Set test project as startup project.  Debug mode = program, start application --> NUnit-GUI, Working Directory -- > project bin directory, command line arguments = dll name.

posted on Monday, August 22, 2005 1:51 PM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 5 and 8 and type the answer here: