Markus L
Markus L

Reputation: 1014

Unknown resource file entry starting with >>

In a Visual Studio resource file (.resx) for a C# project I've located strange entries which start with two greater-than signs (>>), e.g.:

<data name="&gt;&gt;$this.Type" xml:space="preserve">
    <value>Framework.Forms.MyForm, Framework, Version=1.1.5127.0, Culture=neutral, PublicKeyToken=f4aaf1fba1062dc8</value>
</data>

These entries sort of reference various classes (MyForm, MyButton, etc.) in a custom framework library but in an outdated version.

Are these entries still valid? Should I change them so that they reference the current framework version? Do they have an impact on the project? Why does the name start with >>?

Upvotes: 0

Views: 98

Answers (1)

Heinz Kessler
Heinz Kessler

Reputation: 1670

This is how .Net/Winforms stores text resources from Windows forms classes, if you have set "Localizable" to "True". This way, they are taken out of the .designer.cs code and are put into a resource file (one for every language supported) that can be switched, depending on the chosen language. This is at least the one case I know, where resources appear that start with ">>".

Upvotes: 1

Related Questions