How to add a resource file to Visual Studios so th

2019-07-17 07:53发布

问题:

In Visual Studio you can edit image of a button control using the GUI editor (aka "designer").

I want to organize my resources into two *.resx files placed in the "Properties" folder of the project. My problem is that the "Select Resource" dialog in Visual Studio is only displaying the "Properties\Resources.resx" file, and none of other *.resx files.

How can i add a file to the "Project resource file" drop down? If can't, why is it a drop down select than?

回答1:

Select Resource Dialog Box shows:

  • Main project resource which is Properties\Resources.resx
  • All .resx files which are located at root of project.