Create designer.cs file from ResXRersourcewriter generated resource file

JayTee picture JayTee · Jan 4, 2013 · Viewed 21k times · Source

I got a programm that generates .resx resource files. Those resource files are used in other projects, that isnt in the same solution as the project that generates the resource files.

I wonder now, if its possible to generate a designer.cs file from the resource file, so that you can access the resources directly without using the resxresourcereader.

Answer

Paul Fleming picture Paul Fleming · Jan 4, 2013

Open the resx file and on its toolbar there's an Access Modifier menu. Set this to Public. This will generate a *.Designer.cs file.

enter image description here