Enabling Intellisense for Custom Sections in .config Files

后端 未结 3 1538
夕颜
夕颜 2020-12-12 18:50

When editing .NET config files (app.config, web.config, etc) in Visual Studio, I get Visual Studio\'s intellisense to guide me when choosing my application\'s settings. If I

3条回答
  •  独厮守ぢ
    2020-12-12 19:25

    You need to create an XSD file for your custom settings and copy it to the schema directory of your visual Studio install. For 2005, this is: %ProgramFiles%\Microsoft Visual Studio 8\XML\Schemas

    Here some information on this. http://blogs.msdn.com/astebner/archive/2005/12/07/501466.aspx

提交回复
热议问题