• Reference KB000021
  • Created 22-4-2010

I cannot view my obfuscated assembly in Reflector?

DeepSea will insert a small piece of metadata into your assembly to prevent viewing the assembly in some viewers.

You can prevent this by disabling metadata injection as shown in the sample below.


[assembly: Obfuscation(Feature="disable-inject-metadata")]
1 [assembly: Obfuscation(Feature="disable-inject-metadata")]

<Assembly: ObfuscationAttribute(Feature:="disable-inject-metadata")>
1 <Assembly: ObfuscationAttribute(Feature:="disable-inject-metadata")>

It is advised to remove this attribute in a Release build.