c# - What is the assembly element in resx files for? -


the program i'm working on reads resx files , fails read 1 particular resx file has 2 assembly elements same name.

ex.

<assembly alias="system.windows.forms" name="system.windows.forms, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" />  <assembly alias="system.windows.forms" name="system.windows.forms"> 

are in same resx file. when parsing data element below latter assembly system.typeloadexception thrown. when delete latter one, there no exception thrown.

that's error/problem, though it's hard know how got there without more info. remove second (not fully-qualified) assembly definition, , should work fine.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -