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

How to fix compiler error in maingcs from Andnix on Vimeo.


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
 [global::System.Runtime.CompilerServices.CompilerGenerated]
 
private static global::System.Action<string<>f__mg$cache0;


Done!


Kommentarer

Popular Posts

[Android] X8 Sandbox (EN/CN) - Free Android VM, Pre-rooted (VMOS alternative)

VMOS Pro Global/CN Free Custom ROMs | Android 4.4.4, 5.1.1, 7.1.2 | ROOT | Gapps | Xposed | (NO VIP NEEDED)