如何向 .vssettings 文件添加描述
我正在尝试将描述标签添加到 vssettings 文件中,以便可以将我正在使用的各种 vssettings 文件分开。
I'm trying to add a description tag into the vssettings file so I can keep apart the various vssettings file I'm using.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果供个人使用或者您可以接受非本地化字符串,只需添加
DisplayName
和Description
元素以及其中的文本:如果您想要本地化字符串或加载它们来自属于包的资源文件,可以指定
ResourceID
和ResourcePackage
元素。 (此代码段来自General.vssettings
,它包含在 Visual Studio 2010 中,不过我也使用自己的 VSPackage 中的资源对其进行了测试。)If it's for personal use or you're okay with non-localised strings, simply add
DisplayName
andDescription
elements with the text in them:If you want localised strings or to load them from the resource file belonging to a package, there are
ResourceID
andResourcePackage
elements that may be specified. (This snippet comes fromGeneral.vssettings
, which is included with Visual Studio 2010, though I've also tested it with resources in my own VSPackage.)