Last post Mar 05, 2006 05:31 PM by rmprimo
Mar 01, 2006 09:53 AM|anselme|LINK
Mar 05, 2006 05:31 PM|rmprimo|LINK
Actually, the period is an allowed separator but only for local resources which did not exist in v1.x The dot has a meanig there. The "mata" tag maps to a control, but controls have more than one localizable props/fields so the dot is used
as a domain separator to fit that one-to-many relationship into the flat-hash schema of a resx data node.
For global resources you would have to replace it with an underscore separator. The reason for the change is the resource name is turned into a static field in generated CLR code and variable naming rules have to now be enforced, for what
used to be just an xml attribute/.resources key (both pretty liberal).
Global resources probably map closer to the v1.x resource but still not quite. So really BOTH types are new and not backwards compatible. Be prepared to redo them all. Even if you did a massive find-n-replace, and you packed all the resx files
in the designated special directory, you would achieve backwards compatibility but still be using only a fraction of the features. The way satellite assemblies are broken down by special folder as opposed to one monolithic one is different too, and IMO better.
In retrospect, from xm point of view, dot-delimiting an attribute was not such a great idea in the first place, and it is now coming to bite you.:)
Embrace progress, don' fight it!