How do I create a Resources file for a Console Application?

Right click on the console application project node in the solution explorer. Add->New Item->Resources File.

edit: as has been pointed out, if you open the Properties of the console app project, it will also have a Resources tab, which will tell you that it doesn't have a resources file and provide you with a link to create one. This will do the same thing as the above, except that it will create the files under the Properties folder.


  1. Right click your project.
  2. Select Properties.
  3. In Resources click the link "This project does not contain a default resource file". Click here to add one.".

enter image description here


The project template for a console mode application doesn't have pre-cooked Resources. You simply add it with Project + Properties, Resources tab, click the "Click here to create one" link. Take an hour and click around some more. This is all very discoverable but you have to take a look.


I added the answer in my answer to your previous question:

Right-Click on 'test' in Solution Explorer -> Add -> New Item -> Resources File

Then double-click on the created file (e.g. Resource1.resx), and take it from there.

Then use it:

string s = Resource1.String1;