dnSpy - How to fix compiler error on main.g.cs

Are you getting errors like this when trying to compile?

Try edit only Method instead whole Class

Still getting error? follow the simple steps to fix it.

Double click on errors, It will point you to the method. Remove all method that caused error then compile

Common error is generated code <>f__mg$cache0, remove it
private static global::System.Action<string<>f__mg$cache0;



Popular Posts

How to disable signature verification to install unsigned APK (Rooted device/VMOS) (Lucky Patcher)

VMOS 1.0.49 MOD APK | Video ads bypassed | Pre-rooted ROM