mkaring / ConfuserEx

An open-source, free protector for .NET applications
https://mkaring.github.io/ConfuserEx/
MIT License
2.36k stars 368 forks source link

Type Resolve Exception is coming #412

Closed awwallivelyhotmail closed 3 years ago

awwallivelyhotmail commented 3 years ago

[ERROR] Failed to resolve a type, check if all dependencies are present in the correct version. Exception: dnlib.DotNet.TypeResolveException: Could not resolve type: System.Reflection.MemberInfo (System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at dnlib.DotNet.TypeRef.ResolveThrow(ModuleDef sourceModule) at dnlib.DotNet.Extensions.ResolveTypeDefThrow(ITypeDefOrRef tdr) at Confuser.Renamer.Analyzers.InterReferenceAnalyzer.ProcessMemberRef(ConfuserContext context, INameService service, ModuleDefMD module, IMemberRef r) at Confuser.Renamer.Analyzers.InterReferenceAnalyzer.Analyze(ConfuserContext context, INameService service, ProtectionParameters parameters, IDnlibDef def) at Confuser.Renamer.AnalyzePhase.Analyze(NameService service, ConfuserContext context, ProtectionParameters parameters, IDnlibDef def, Boolean runAnalyzer) at Confuser.Renamer.AnalyzePhase.Execute(ConfuserContext context, ProtectionParameters parameters) at Confuser.Core.ProtectionPipeline.ExecuteStage(PipelineStage stage, Action1 func, Func1 targets, ConfuserContext context) at Confuser.Core.ConfuserEngine.RunPipeline(ProtectionPipeline pipeline, ConfuserContext context) at Confuser.Core.ConfuserEngine.RunInternal(ConfuserParameters parameters, CancellationToken token) [ERROR] ---BEGIN DEBUG INFO--- [ERROR] Installed Framework Versions: [ERROR] v2.0.50727 2.0.50727.4927 [ERROR] v3.0 3.0.30729.4926 [ERROR] v3.5 3.5.30729.4926 [ERROR] v4 [ERROR] Client 4.8.04084 [ERROR] Full 4.8.04084 [ERROR] v4.0 [ERROR] Client 4.0.0.0 [ERROR] v4.5 528372 [ERROR]

ElektroKill commented 3 years ago

.NET Core 3.1 and other versions of .NET core and .NET 5 are not supported yet :(

mkaring commented 3 years ago

302 is tracking the support for the new versions of .NET. I'm closing this one as a duplicate.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.