在主库中有一个命名空间Main.TargetNamespace
。在合并库中有一个公共类型Merged.SourceNamespace.Type
。
我需要将类型移动Merged.SourceNamespace.Type
到Main.TargetNamespace
as public
。
我做了
[assembly: Obfuscation(Feature = "ilmerge custom parameters: /internalize:exclude.file", Exclude = false)]
[assembly: Obfuscation(Feature = "Apply to type Merged.SourceNamespace.Type: type renaming pattern Main.TargetNamespace.Type", Exclude = false)]
但只有内部化被禁用(即第一行有效):类型Merged.SourceNamespace.Type
是公共的并且在混淆程序集中可用。
如何保持Merged.SourceNamespace.Type
合并库中的类型公开并将其移动到指定的命名空间Main.TargetNamespace.Type
?