如何将资源文件添加到 Visual Studios 以便它在 "Select Resource" 对话框中可见?

How to add a resource file to Visual Studios so that it's visible in "Select Resource" dialog?

在 Visual Studio 中,您可以使用 GUI 编辑器(又名 "designer")编辑按钮控件的图像。

我想将我的资源组织成两个 *.resx 文件,放在项目的 "Properties" 文件夹中。我的问题是 Visual Studio 中的 "Select Resource" 对话框仅显示 "Properties\Resources.resx" 文件,以及其他 *.resx 文件的 none。

如何将文件添加到 "Project resource file" 下拉列表?如果不能,为什么是下拉select比?

Select Resource Dialog Box 显示:

  • 主要项目资源Properties\Resources.resx
  • 位于项目根目录的所有 .resx 个文件。