StrataFrame Forum

dotfuscator question

http://forum.strataframe.net/Topic7900.aspx

By Greg McGuffey - 4/4/2007

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?
By StrataFrame Team - 4/5/2007

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.