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
Post a Comment