.NET project file analyzers community

Proj2001: Define data in a resource file

A resource file without <data> elements is of no use.

Non-compliant

<?xml version="1.0" encoding="utf-8"?>
<root>
 
</root>

Compliant

<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- ... -->
  <data name="King" xml:space="preserve">
    <value>Koning</value>
  </data>
  <data name="Queen" xml:space="preserve">
    <value>Koningin</value>
  </data>
</root>