vb.net - How Do I Use the app.config file with a Test Project -


I am using unit testing, to ensure that I connect to the ConnectStrings section of my app.config file I can read string information. It works fine in the proper application, but when I try to prepare a unit test for it under the test project, then the dll.config file is being ignored, and the machine.config file is connected to the contact information. Instead of being received. How can I make sure my test is read from the correct config file?

Your exam project should have an App.Config file.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -