Reviews and Ratings

Configuration file not read  
0.0
 
written almost 15 years ago

For open source, Visual NUnit works pretty well. Thank you!

However, I've run into a problem where the class library app.config is not read. I do the usual copy to target and it still doesn't work.

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

I think the other Test runners out there run in a separate AppDomain. (i.e. in my test code, I did a check:
string configFile = System.AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;) and it was definitely pointing to the Visual NUnit App Domain, and not the test project app domain.

hopefully you can fix, thanks!

Did this review help you? |