Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Where does the .config file reside [modified]

Where does the .config file reside [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
debuggingtutorialquestionworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nicknotyet
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • N nicknotyet

      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

      M Offline
      M Offline
      mr_lasseter
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • M mr_lasseter

        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

        N Offline
        N Offline
        nicknotyet
        wrote on last edited by
        #3

        Perfect, great response. Thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups