NUnit Build Task - Specify App.config file

Hello all,

I need to specify an App.config file for my NUnit tests to run against.  I was accomplishing this using the MSBuild runner with an NUnit task, however I am trying to set up dotCover integration and it seems this requires the tests to be in a seperate NUnit build step.  There does not seem to be a place to specify a config file in the TeamCity UI.

Any thoughts?

Thanks!

-Tom

1 comment
Comment actions Permalink

Hi Tom

You can configure you build to copy App.<exe/dll>.config file into output directory and NUnit will catch it automatically. No special configuration is required.

Michael

0

Please sign in to leave a comment.