dotfuscator question


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'm attempting to obfuscate my app, using the community edition of dotfuscator that comes with VS 2005. I'm getting a TypeLoadException when I try to run the obfuscated app. It says I "tried to implement a method declaration with a different virtual state".



This occurs in InitializeComponent() of a user control.



Anyone have any ideas what I'm looking for here to fix this?
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you're signing your assemblies, then you might need to delay sign them or resign them after the obfuscation has run.  Also, make sure you're not obfuscating any of the public members, otherwise, referencing assemblies won't be able to see the types any more.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search