[英]Settings.settings table is not shown
I'm playing around with settings, in my WPF App, under VS2019.我正在使用 VS2019 下的 WPF 应用程序中的设置。 Normally I've learned that doubleclicking Settings.settings in the solution explorer shoud rise a table, to define the settings.通常我已经了解到,在解决方案资源管理器中双击 Settings.settings 应该会生成一个表格来定义设置。 On my VS only a xml-style file is shown but I don't find any hints in the internet, on how to style the settings, without this nice table.在我的 VS 上,只显示了一个 xml 样式的文件,但我在互联网上没有找到任何关于如何设置样式的提示,没有这个漂亮的表格。
Can please someone help me?可以请人帮助我吗?
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
It would be enough to know the needed nodes in that xml-document.知道该 xml 文档中所需的节点就足够了。
Within your project right-click your .settings
-file and select Open With...
:在您的项目中,右键单击您的.settings
文件和 select Open With...
:
This will open a menu where you can choose a default editor for your file:这将打开一个菜单,您可以在其中为文件选择默认编辑器:
The Settings Designer
is probably what you will want to set as default by selecting it and pressing the Set as Default
-button. Settings Designer
可能是您希望通过选择它并按“设置为默认值”按钮将其Set as Default
。 Finally hit OK
to apply the settings.最后点击OK
以应用设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.