NUnit using config file

Hi everyone.

We are having an issue here where we have a NUnit project that uses two config files to run. When ran manually, it works fine. When ran with FinalBuilder, the config files are ignored which of course results in failure.

Step to reproduce : Make yourself a simple NUnit project that reads a value from app.config and then compares it with some hardcoded value. The project should return success when ran manually but in failure when ran with FB.
 

*** Don't forget configs from root folder and also from bin/Debug folder.

Thank you.

Hi Jonathan,

I think I must be missing something in my test project but I’m unable to reproduce it here. Could you package up an example (including FB project, test assembly, configs) and the NUnit output and send it to support [at] finalbuilder.com?

Thanks,
Paul.

I'll have to build an example solution for you since I cannot forward any code out of our office. I'll send it as soon as I can recreate it.

I've sent a solution showing the problem at support [at] finalbuilder [dot] com

Thank you !

Situation has been resolved with emails to support.

For anyone who would need the solution. FB team told me to specify the assembly instead of the .csproj. This did the trick.