I’ve got a bunch of Warnings in a Visual Studio 2005 project, most of them are warning me that a resource name is not a valid identifier.
example:
The resource name 'MB_ArchiveRestore.cs_11' is not a valid identifier.
MSDN online help indicates that the resource name needs to be strongly typed, and not contain spaces. What does strongly typed exactly mean?
Strongly typed means that a variable, field, or property is of a specific type instead of just
Object.If you use strongly typed resources, code is generated with strongly typed properties for all your resources. In this case the resource name is used as the property name, hence it must be a valid C# property name. Your example
MB_ArchiveRestore.cs_11contains a dot and is in consequence not a valid property name. The code generator will replace the dot with an underscore to make the name valid and gives you the described warning to inform you about that.