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

∥☆過路亽.° 提交于 2019-12-10 23:35:41

问题


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.



来源:https://stackoverflow.com/questions/37444859/how-to-add-a-resource-file-to-visual-studios-so-that-its-visible-in-select-res

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!