# NUnit using config file

**URL:** <https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210>\
**Category:** Bugs\
**Created:** [January 14, 2010, 6:33am UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210 "2010-01-14T06:33:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [January 14, 2010, 6:33am UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210/1 "2010-01-14T06:33:23Z")

</div>

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.&nbsp;When ran with&nbsp;FinalBuilder, the config files are ignored which of course results in failure.  
  
Step to reproduce :&nbsp;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&nbsp;FB.  
&nbsp;

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

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [January 15, 2010, 12:04pm UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210/2 "2010-01-15T12:04:57Z")

</div>

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](http://finalbuilder.com)?   
  
 Thanks,   
 Paul.

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [January 15, 2010, 2:00am UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210/3 "2010-01-15T02:00:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [January 15, 2010, 7:19am UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210/4 "2010-01-15T07:19:56Z")

</div>

I've sent a solution showing the problem at support [at] finalbuilder [dot] com  
  
Thank you&nbsp;!

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [January 18, 2010, 2:43am UTC](https://www.finalbuilder.com/forums/t/nunit-using-config-file/3210/5 "2010-01-18T02:43:42Z")

</div>

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.
