Closed GoogleCodeExporter closed 8 years ago
Please check that all class names are unique within all assemblies you are
trying to obfuscate.
Obfuscar is not designed to handle assemblies defining the same type multiple
times.
Original comment by webbi...@gmail.com
on 25 Aug 2010 at 7:23
If you mean the unqualified class name, I'm sure they are not.
This is a pretty arbitrary limitation that makes obfuscar unusable for me.
Is there any particular reason that this limitation exists?
Original comment by brien...@gmail.com
on 25 Aug 2010 at 10:32
No, I meant the full qualified class name including the namespace must be
unique.
Classes with the same name may of course exist in different namespaces or
nested classes.
To determine the exact cause for this exception (maybe it is a different
problem and I am wrong) check out Obfuscar from SVN and start an obfuscation
run in the debugger. It should be easy to see which of the classes causes the
problem.
Original comment by webbi...@gmail.com
on 25 Aug 2010 at 11:00
unrenamedTypeKey.Fullname is "<PrivateImplementationDetails>"
these are .net 1.1 assemblies.
Original comment by brien...@gmail.com
on 25 Aug 2010 at 11:17
<PrivateImplementationDetails> normally have a GUID appended to make them
unique.
Maybe this wasn't the case with the .net 1.1 compiler.
I just did some tests and it seems that skipping the offending type with the
<SkipType> directive might help.
Original comment by webbi...@gmail.com
on 25 Aug 2010 at 12:02
SkipType worked. thanks.
Original comment by brien...@gmail.com
on 25 Aug 2010 at 12:40
Original comment by webbi...@gmail.com
on 26 Aug 2010 at 9:02
Original issue reported on code.google.com by
brien...@gmail.com
on 24 Aug 2010 at 5:38