Add the following to cs file [assembly: Obfuscation(Exclude = false, Feature = "+constants(mode=normal,elements=SNI,cfg=false)")]// causes mscorlib 4 dep
Compile without confuserEx
Note via dnspy mscorlib 2.0.0.0 is referenced
Compile with MSBuild + confuserEx
Note via dnspy mscorlib 4.0.0.0 is referenced
This causes problems for class libraries used as plugins in some systems. I expect simple string obfuscation to not change mscorlib dependencies.
Steps to Reproduce:
[assembly: Obfuscation(Exclude = false, Feature = "+constants(mode=normal,elements=SNI,cfg=false)")]// causes mscorlib 4 dep
This causes problems for class libraries used as plugins in some systems. I expect simple string obfuscation to not change mscorlib dependencies.