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

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -