Search code examples
c#visual-studiovisual-studio-2012resxresource-files

How to add a resource file in visual studio


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


Solution

  • 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