Replies: 1 comment
-
The namespace of a type can be changed via the var module = ModuleDefinition.FromFile("file.exe");
foreach (var type in module.TopLevelTypes)
{
if (type.Namespace == "<your namespace to remove>")
type.Namespace = null;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
How to remove a whole namespace directly from a C# exe?
Beta Was this translation helpful? Give feedback.
All reactions