[SOLVED] Duplicate metadata entry in dialog.resx

Answered Closed
0
0

Dear Team,

for some reason the designer is adding a duplicate entry into the .resx file.

 

While it is not causing an immediate problem for me, it would be nice if you could track down the reason for this problem.

The file appears as modified in my source control, which does not need to be.

The duplicate entry disappears after a while, if I open/close the designer.

 

 <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="dgvAccessRights.ShowSampleData" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>False</value>
  </metadata>
  <metadata name="dgvAccessRights.ShowSampleData" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>False</value>
  </metadata>
  <metadata name="dgvUsers.ShowSampleData" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>False</value>
  </metadata>
  <metadata name="$this.RulerSnapLines" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
        dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EHAQAAAAABAAAAAAAAAAQU
        U3lzdGVtLkRyYXdpbmcuUG9pbnQCAAAACw==
</value>
  </metadata>

 

I would have tracked down for you if I only had access to source code, sorry not his time!

 

Attachment
  • You must to post comments
Best Answer
0
0

ShowSampleData is a design-time only property not used at runtime. It’s basically a “fake” property. The generation of the resx file is entirely managed by Visual Studio.

  • You must to post comments
Showing 1 result