How to add a resource file in visual studio

appu picture appu · Jun 3, 2015 · Viewed 12k times · Source

I want to add a resource file to my project in Visual Studio. But I am not able to find from where I can create the resource file. Can anyone help me out in this

Answer

Rahul Nikate picture Rahul Nikate · Jun 3, 2015

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.

Add New Item dialog