Closed GoogleCodeExporter closed 9 years ago
i'm using v1.4.0 and Visual Studio 2008 and getting also an exection when
referencing
a Resource string.
Original comment by cdefg...@gmx.de
on 11 Aug 2009 at 5:36
Obfuscar renames embedded resources, if they start with the same full name like
an
obfuscated type. This is especially useful for the resources associated with
Windows
forms, which start with the same name as the Form's type.
The resource designer of Visual Studio also names resource files after the
class used
to access the resource contents. In this designer-generated class the resource
is
referenced by a hard-coded string.
You could replace this string by something like
typeof(MyResourceClass).FullName, but
this would be overwritten by the designer every time a resource string is added.
In the current version (1.5.2) there is some special code now, which searches
for
this hard-coded string and replaces it with the obfuscated type/resource name.
Original comment by webbi...@gmail.com
on 16 Nov 2009 at 8:53
Original issue reported on code.google.com by
g...@dotnetsharp.com
on 13 Mar 2009 at 5:37