如何将资源文件添加到 Visual Studios,使其在“选择资源"中可见对话? [英] How to add a resource file to Visual Studios so that it's visible in "Select Resource" dialog?

查看:38
本文介绍了如何将资源文件添加到 Visual Studios,使其在“选择资源"中可见对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

我想将我的资源组织成两个 *.resx 文件,放在项目的Properties"文件夹中.我的问题是 Visual Studio 中的选择资源"对话框仅显示Properties\Resources.resx"文件,而没有显示其他 *.resx 文件.

如何将文件添加到项目资源文件"下拉列表中?如果不能,为什么是下拉选择比?

解决方案

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?

解决方案

Select Resource Dialog Box shows:

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

这篇关于如何将资源文件添加到 Visual Studios,使其在“选择资源"中可见对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆