Is it possible to change the RESX generator to use open access in the generated class?

I am writing an ASP.NET MVC application and am trying to use a .resx file to store error messages and other common lines. The problem is that the RESX generator creates inner classes, and they cannot be used in ASP.NET HTML using syntax, for example:

<%= Resources.SomeString %> 

Is it possible to configure the parameter so that the RESX generator can create a public class and properties?

+4
source share
1 answer

The access modifier can be set to Public from the combined field in the top menu of the resource editor.

http://docs.google.com/File?id=dcfqfqs2_2gfcb5ndc_b

+9
source share

All Articles