I run a series of NUnit tests using the JetBrains.BuildServer.NUnitLauncher.exe, called directly from a finalbuilder script, with the TeamCity build configuration running finalbuilder from the command line. The arguments to the NUnit launcher are
v2.0 x86 NUnit-2.4.6 %ASSEMBLIES_TO_TEST%
and everything works fine.
However, I now wish to alter the behaviour of one of the test's dependent assemblies by passing in some configuration properties. Normally I would do this by creating a file UI.exe.config in the same directory as UI.exe, where UI.exe is the program executable. There's no special code in our app to read the config file, I'm just relying on .NET's built-in config file functionality (http://msdn.microsoft.com/en-us/library/1fk1t1t0.aspx).
Configuring the dependant assembly this way works fine in the case of UI.exe, or any other application we use that in turn uses our assembly (for example, MS Excel). What I'd like to do is configure the assembly in the same way when running under JetBrains.BuildServer.NUnitLauncher.exe. I've tried creating JetBrains.BuildServer.NUnitLauncher.exe.config, but this does not configure the assembly, with the tests not displaying any altered behaviour. Can you tell me which executable I should create a config file for in order to configure the dependent assembly's behaviour?
Thanks for any help you are able to provide,