visual studio - How to avoid the underscore prefix from the auto-generated property names for imported resource files in VS2008? -


For some reason the VS-2008 adds a '_' prefix for the property names of resources in the auto-generated resource class.

When I add multiple image files to the project using the "Add existing file" dialog, I get this.

How can I avoid it?

Google failed me, or, I could fail Google, either way, please help me! :)

Due to VS An underscore prefix was adding that I had the file name of the imported resources, it is illegal to begin with a number of purely numerical names without the extension (i.e. "1.bmp") and for a class or property name. , Thus it adds an underscore.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -