c# - 如何在visual studio中添加资源文件

标签 c# visual-studio visual-studio-2012 resx resource-files

我想将资源文件添加到我在 Visual Studio 中的项目中。但是我找不到从哪里可以创建资源文件。谁能帮我解决这个问题

最佳答案

右键单击解决方案 > 添加新项 >> Visual C# < strong>> General > 选择资源文件(Resource1.resx)

根据 ShooShoSha:您需要在“Visual Studio 安装程序”中安装“Windows 工作负载”之一才能使用“资源文件”。

Add New Item dialog

关于c# - 如何在visual studio中添加资源文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30611878/

相关文章:

c# - 如何重定向控制台的输出?

c# - 微软堆栈 : How to match Local Development Environment to Server Environment?

c++ - VS 2012 - XP 问题

visual-studio - MSBuild 不包含 "VCTargetsPath"属性的值

c# - Azure Web 角色——如何保护开源项目?

c# - 将文本编码为 JavaScript 函数

c# - 在 WPF 数据网格中选择项目时如何显示按钮?

visual-studio - 与 Visual Studio 匹配的 Doxygen 警告格式

.net - 缺少 .NET Standard 2.0 Framework 和最新的 .NET Core SDK 2.2.1、.NET Framework 4.7.2、VS2017 15.9.3

asp.net-mvc - 输出类型为类库的项目无法直接启动。