adg
adg copied to clipboard
Failed to resolve assembly: '__Generated, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null'
--input="C:\DummyDll" --output="C:\output" --system-libs="C:\BepInEx_UnityIL2CPP_x64_6.0.0-pre.1\mono\Managed"
Done in 00:00:00.1385358
Reading system assemblies...
Done in 00:00:00.0303080
Creating rewrite assemblies...
Done in 00:00:00.0137712
Computing renames...
Done in 00:00:00.0855504
Creating typedefs...
Done in 00:00:00.1092134
Computing struct blittability...
Done in 00:00:00.0075638
Filling typedefs...
Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '__Generated, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null'
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.TypeReference.Resolve()
at AssemblyUnhollower.Contexts.AssemblyRewriteContext.RewriteTypeRef(TypeReference typeRef) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Contexts\AssemblyRewriteContext.cs:line 112
at AssemblyUnhollower.Passes.Pass12FillTypedefs.DoPass(RewriteGlobalContext context) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Passes\Pass12FillTypedefs.cs:line 36
at AssemblyUnhollower.Program.Main(UnhollowerOptions options) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Program.cs:line 231
at AssemblyUnhollower.Program.Main(String[] args) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Program.cs:line 170
C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\bin\Debug\net4.7.2\AssemblyUnhollower.exe (process 23788) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
I have the same error. Unity version: 2022.3.8f1
try to copy "__Generated" as "__Generated.dll"