Enabling Intellisense for Custom Sections in .config Files

后端 未结 3 1545
夕颜
夕颜 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:37

    If you do not want to modify your Visual Studio files or copy anything into the Visual Studio folder, you can add the .xsd file to your project, open your .config file and select Schemas in the Properties window (click the […] icon):

    Screenshot of Visual Studio showing where to find and change the .config file">

提交回复
热议问题