Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Private.CoreLib, #95

Open
krulci opened this issue Apr 19, 2023 · 0 comments

Comments

@krulci
Copy link

krulci commented Apr 19, 2023

I read issue #12 and used the mscorlib.dll from an injector. The injector I am using is BepInEx, but I am still getting the error. DummyDll is generated using Il2CppDumper-net6-win-v6.7.40.

C:\Users\_\source\LemonLoader\Il2CppAssemblyUnhollower.0.4.18.0>AssemblyUnhollower.exe --input="C:\DummyDll" --output="C:\output" --mscorlib="C:\BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.668+46e297f\dotnet\mscorlib.dll"
Reading assemblies...
Done in 00:00:00.1125842
Reading system assemblies...
Done in 00:00:00.0052437
Creating rewrite assemblies...
Done in 00:00:00.0121745
Computing renames...

Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Private.CoreLib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'
   at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
   at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
   at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
   at Mono.Cecil.MetadataResolver.GetType(ModuleDefinition module, TypeReference reference)
   at Mono.Cecil.TypeReference.Resolve()
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.NameOrRename(TypeReference typeRef, RewriteGlobalContext context)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.GenericNameToStrings(TypeReference typeRef, RewriteGlobalContext context)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.GetUnobfuscatedNameBase(RewriteGlobalContext context, TypeDefinition typeDefinition, Boolean allowExtraHeuristics)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.ProcessType(RewriteGlobalContext context, TypeDefinition originalType, Boolean allowExtraHeuristics)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.ProcessType(RewriteGlobalContext context, TypeDefinition originalType, Boolean allowExtraHeuristics)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.ProcessType(RewriteGlobalContext context, TypeDefinition originalType, Boolean allowExtraHeuristics)
   at AssemblyUnhollower.Passes.Pass05CreateRenameGroups.DoPass(RewriteGlobalContext context)
   at AssemblyUnhollower.Program.Main(UnhollowerOptions options)
   at AssemblyUnhollower.Program.Main(String[] args)
Done in 00:00:01.1607984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant