I can compile (delete webstat.cs) but when I run 7dtd-fixer.exe...
I get this strange error... I am not advanced dev in c# but there is the UnityEngine.dll in the folder!
System.IO.FileLoadException: Could not load file or assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception de HRESULT : 0x80131044)
Nom de fichier : 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
à System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
à System.Reflection.RuntimeMethodInfo.get_CallingConvention()
à Mono.Cecil.MetadataImporter.HasCallingConvention(MethodBase method, CallingConventions conventions)
à Mono.Cecil.MetadataImporter.ImportMethod(MethodBase method, IGenericContext context, ImportGenericKind import_kind)
à dtdfixer.MainClass.replaceMethod(TypeDefinition type, String methodName, Boolean addThisRef, Int32 opCount, MethodBase targetMethod)
à dtdfixer.MainClass.mappingPatch(ModuleDefinition module)
à dtdfixer.MainClass.Main(String[] args)