-
Notifications
You must be signed in to change notification settings - Fork 222
Description
Going of the history here: kekyo/ILRepack.FullAuto#16
I am trying to merge a library dll which is referencing Il2Cpp binaries created through melonloader with two other dlls which do not share anything with this dll but keep running into:
ERROR: Duplicate type Il2Cpp._PrivateImplementationDetails_ CONSOLE: System.InvalidOperationException: Duplicate type Il2Cpp._PrivateImplementationDetails_ from Il2CppAmplifyImpostors.dll, was also present in Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null CONSOLE: at ILRepacking.RepackImporter.Import(TypeDefinition type, Collection1 col, Boolean internalize) CONSOLE: at ILRepacking.Steps.TypesRepackStep.RepackTypes() CONSOLE: at ILRepacking.Steps.TypesRepackStep.Perform() CONSOLE: at ILRepacking.ILRepack.RepackCore(String tempOutputDirectory) CONSOLE: at ILRepacking.ILRepack.Repack() CONSOLE: at ILRepack.Lib.MSBuild.Task.ILRepack.Execute() 0>ILRepack.Lib.MSBuild.Task.targets(16,9): Error : Duplicate type Il2Cpp._PrivateImplementationDetails_ from Il2CppAmplifyImpostors.dll, was also present in Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
This also happens when I try to only merge my one library with nothing else.
I thought it could be a problem with my setup but using the fullauto package which wraps this one did produce another issue as can be seen in the issue linked above.
Could it be that I can't merge any dlls containing Il2Cpp references?
Here is my repo, but building it is kind of a hassle as you'll need the games assemblies which I don't want to upload into the git. So you would have to dump them with melonloader and thus own the game.