How can we help you today? How can we help you today?

App doens't work after obfusication

After we obfusicated our app, we get those exeption (German)

[code]Der offentliche Member WriteLog für den Typ Œ wurde nicht gefunden.
18.10.2011 16:48:43 - bei Microsoft.VisualBasic.CompilerServices.Symbols.Container.GetMembers(String& MemberName, Boolean ReportErrors)
bei Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
bei Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
bei ‘.
Daniel Huhn
0

Comments

2 comments

  • Simon C
    Looks like you're using some sort of late-binding mechanism. Obfuscation will break reflection-like scenarios, as obfuscation changes the name of everything.

    You'll need to add obfuscation and/or pruning exclusions in the SmartAssembly UI for the members you're late-binding to, or (if you've got Pro edition) add various DoNotObfuscate attributes to your codebase (see http://www.red-gate.com/supportcenter/C ... 032253.htm)
    Simon C
    0
  • Daniel Huhn
    I excluded the method causing problem and everythings works fine. Thanks.
    Daniel Huhn
    0

Add comment

Please sign in to leave a comment.