Where does the .config file reside [modified]
-
Trying to set up some switches to control debug output. The MS docs say: To set the level of your switch, edit the configuration file that corresponds to the name of your application. Within this file, you can add a switch and set its value, remove a switch, or clear all the switches previously set by the application. The configuration file should be formatted like the following example: Where this file comes from or resides is not mentioned. Do I create it myself .config? Where do I put it? Same dir as application? What if I want per assembly control? Anybody? -- modified at 17:51 Thursday 6th July, 2006
-
Trying to set up some switches to control debug output. The MS docs say: To set the level of your switch, edit the configuration file that corresponds to the name of your application. Within this file, you can add a switch and set its value, remove a switch, or clear all the switches previously set by the application. The configuration file should be formatted like the following example: Where this file comes from or resides is not mentioned. Do I create it myself .config? Where do I put it? Same dir as application? What if I want per assembly control? Anybody? -- modified at 17:51 Thursday 6th July, 2006
Project -> Add New Item. Select Application Configuration File When you compile your project it will name it AppName.exe.config and place it in the same directory as your exe. Mike Lasseter -- modified at 22:34 Thursday 6th July, 2006
-
Project -> Add New Item. Select Application Configuration File When you compile your project it will name it AppName.exe.config and place it in the same directory as your exe. Mike Lasseter -- modified at 22:34 Thursday 6th July, 2006
Perfect, great response. Thanks