简体   繁体   English

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

[英]How to add a resource file in visual studio

I want to add a resource file to my project in Visual Studio .我想在Visual Studio向我的项目添加一个资源文件。 But I am not able to find from where I can create the resource file .但是我无法找到可以从哪里创建resource file Can anyone help me out in this谁能帮我解决这个问题

Right click on Solution > Add New Item > Visual C# > General > Select Resources File (Resource1.resx) Right click on Solution > Add New Item > Visual C# > General > Select Resources File (Resource1.resx)

As per ShooShoSha: You need to have one of the "Windows workloads" installed in "Visual Studio Installer" for the "Resource File" to be available.根据 ShooShoSha:您需要在“Visual Studio 安装程序”中安装“Windows 工作负载”之一才能使“资源文件”可用。

添加新项目对话框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM