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

[ABORT] Use ILMerge instead of ILRepack #421

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andy840119
Copy link
Member

@andy840119 andy840119 commented Jan 20, 2021

Fix issue found in #413
And it's an alternative way compare to #420

There's to document about ILMerge
https://github.com/dotnet/ILMerge/blob/master/ilmerge-manual.md

@andy840119 andy840119 added the updates Update any package label Jan 20, 2021
@andy840119 andy840119 marked this pull request as draft January 20, 2021 14:55
@andy840119
Copy link
Member Author

andy840119 commented Jan 20, 2021

It should contain project itself(osu.Game.Rulesets.Karaoke.dl).

But it will cause Process is terminated due to StackOverflowException. error
No idea why to cause and no idea how to fix now.

=============================================
Timestamp (UTC): 2021/01/20 15:00:41
ILMerge version 3.0.0.0
Copyright (C) Microsoft Corporation 2004-2006. All rights reserved.
ILMerge /log:osu.Game.Rulesets.Karaoke.txt /out:osu.Game.Rulesets.Karaoke.Packed.dll osu.Game.Rulesets.Karaoke.dll LanguageDetection.dll Octokit.dll osu.Framework.KaraokeFont.dll osu.Framework.Microphone.dll NWaves.dll LyricMaker.dll NicoKaraParser.dll WanaKanaSharp.dll Zipangu.dll 
Set platform to 'v4', using directory 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319' for mscorlib.dll
Running on Microsoft (R) .NET Framework v4.0.30319
mscorlib.dll version = 4.0.0.0
The list of input assemblies is:
	osu.Game.Rulesets.Karaoke.dll
	LanguageDetection.dll
	Octokit.dll
	osu.Framework.KaraokeFont.dll
	osu.Framework.Microphone.dll
	NWaves.dll
	LyricMaker.dll
	NicoKaraParser.dll
	WanaKanaSharp.dll
	Zipangu.dll
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Game.Rulesets.Karaoke.dll'.
Can not use portable PDB file. Debug info will not be available for assembly 'osu.Game.Rulesets.Karaoke.dll'.
	Successfully read in assembly.
	There were no errors reported in osu.Game.Rulesets.Karaoke's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\LanguageDetection.dll'.
Can not find PDB file. Debug info will not be available for assembly 'LanguageDetection.dll'.
	Successfully read in assembly.
	There were no errors reported in LanguageDetection's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Octokit.dll'.
Can not find PDB file. Debug info will not be available for assembly 'Octokit.dll'.
	Successfully read in assembly.
	There were no errors reported in Octokit's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.KaraokeFont.dll'.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework.KaraokeFont.dll'.
	Successfully read in assembly.
	There were no errors reported in osu.Framework.KaraokeFont's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.Microphone.dll'.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework.Microphone.dll'.
	Successfully read in assembly.
	There were no errors reported in osu.Framework.Microphone's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\NWaves.dll'.
Can not find PDB file. Debug info will not be available for assembly 'NWaves.dll'.
	Successfully read in assembly.
	There were no errors reported in NWaves's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\LyricMaker.dll'.
Can not find PDB file. Debug info will not be available for assembly 'LyricMaker.dll'.
	Successfully read in assembly.
	There were no errors reported in LyricMaker's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\NicoKaraParser.dll'.
Can not find PDB file. Debug info will not be available for assembly 'NicoKaraParser.dll'.
	Successfully read in assembly.
	There were no errors reported in NicoKaraParser's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\WanaKanaSharp.dll'.
Can not find PDB file. Debug info will not be available for assembly 'WanaKanaSharp.dll'.
	Successfully read in assembly.
	There were no errors reported in WanaKanaSharp's metadata.
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Zipangu.dll'.
Can not find PDB file. Debug info will not be available for assembly 'Zipangu.dll'.
	Successfully read in assembly.
	There were no errors reported in Zipangu's metadata.
Checking to see that all of the input assemblies have a compatible PeKind.
	osu.Game.Rulesets.Karaoke.PeKind = ILonly
	LanguageDetection.PeKind = ILonly
	Octokit.PeKind = ILonly
	osu.Framework.KaraokeFont.PeKind = ILonly
	osu.Framework.Microphone.PeKind = ILonly
	NWaves.PeKind = ILonly
	LyricMaker.PeKind = ILonly
	NicoKaraParser.PeKind = ILonly
	WanaKanaSharp.PeKind = ILonly
	Zipangu.PeKind = ILonly
All input assemblies have a compatible PeKind value.
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'netstandard'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'netstandard'.
Resolved assembly reference 'netstandard' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\netstandard.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osu.Game'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Game'.
Resolved assembly reference 'osu.Game' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Game.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game' is referencing assembly 'osu.Framework'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework'.
Resolved assembly reference 'osu.Framework' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Newtonsoft.Json'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Newtonsoft.Json'.
Resolved assembly reference 'Newtonsoft.Json' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Newtonsoft.Json.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osuTK'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osuTK'.
Resolved assembly reference 'osuTK' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osuTK.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Core'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Core'.
Resolved assembly reference 'System.Core' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Core.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Markdig'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Markdig'.
Resolved assembly reference 'Markdig' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Markdig.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Lucene.Net'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net'.
Resolved assembly reference 'Lucene.Net' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Net.Http'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Net.Http'.
Resolved assembly reference 'System.Net.Http' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Net.Http.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Framework.KaraokeFont' is referencing assembly 'SixLabors.ImageSharp'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'SixLabors.ImageSharp'.
Resolved assembly reference 'SixLabors.ImageSharp' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\SixLabors.ImageSharp.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Framework.Microphone' is referencing assembly 'ManagedBass'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'ManagedBass'.
Resolved assembly reference 'ManagedBass' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\ManagedBass.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.Runtime'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Runtime'.
Resolved assembly reference 'System.Runtime' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\System.Runtime.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Numerics'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Numerics'.
Resolved assembly reference 'System.Numerics' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Numerics.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.ValueTuple'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ValueTuple'.
Resolved assembly reference 'System.ValueTuple' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ValueTuple.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Runtime.Serialization'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Runtime.Serialization'.
Resolved assembly reference 'System.Runtime.Serialization' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Runtime.Serialization.dll'. (Used referencing Module's directory.)
Using assembly 'osu.Game.Rulesets.Karaoke' for assembly-level attributes for the target assembly.
Merging assembly 'osu.Game.Rulesets.Karaoke' into target assembly.
AssemblyResolver: Assembly 'osu.Framework' is referencing assembly 'System.Collections.Immutable'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Collections.Immutable'.
Resolved assembly reference 'System.Collections.Immutable' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.Collections.Immutable.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Framework' is referencing assembly 'JetBrains.Annotations'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'JetBrains.Annotations'.
Resolved assembly reference 'JetBrains.Annotations' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\JetBrains.Annotations.dll'. (Used referencing Module's directory.)
Merging assembly 'LanguageDetection' into target assembly.
Merging assembly 'Octokit' into target assembly.
Duplicate type name: modifying name of the type '<PrivateImplementationDetails>' (from assembly 'Octokit') to 'Octokit.<PrivateImplementationDetails>'
Merging assembly 'osu.Framework.KaraokeFont' into target assembly.
Merging assembly 'osu.Framework.Microphone' into target assembly.
Merging assembly 'NWaves' into target assembly.
Duplicate type name: modifying name of the type '<PrivateImplementationDetails>' (from assembly 'NWaves') to 'NWaves.<PrivateImplementationDetails>'
Merging assembly 'LyricMaker' into target assembly.
Merging assembly 'NicoKaraParser' into target assembly.
Merging assembly 'WanaKanaSharp' into target assembly.
Duplicate type name: modifying name of the type '<PrivateImplementationDetails>' (from assembly 'WanaKanaSharp') to 'WanaKanaSharp.<PrivateImplementationDetails>'
Merging assembly 'Zipangu' into target assembly.
Duplicate type name: modifying name of the type '<>f__AnonymousType0`2' (from assembly 'Zipangu') to 'Zipangu.<>f__AnonymousType0`2'
Duplicate type name: modifying name of the type '<>f__AnonymousType1`2' (from assembly 'Zipangu') to 'Zipangu.<>f__AnonymousType1`2'
Copying 1 Win32 Resources from assembly 'osu.Game.Rulesets.Karaoke' into target assembly.
	There were no errors reported in the target assembly's metadata.
ILMerge: Writing target assembly 'osu.Game.Rulesets.Karaoke.Packed.dll'.
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'System.Text.Encodings.Web'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Text.Encodings.Web'.
Resolved assembly reference 'System.Text.Encodings.Web' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.Text.Encodings.Web.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Microsoft.EntityFrameworkCore'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Microsoft.EntityFrameworkCore'.
Resolved assembly reference 'Microsoft.EntityFrameworkCore' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Microsoft.EntityFrameworkCore.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game' is referencing assembly 'System.ComponentModel.Annotations'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ComponentModel.Annotations'.
Resolved assembly reference 'System.ComponentModel.Annotations' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.ComponentModel.Annotations.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Xml.Linq'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Xml.Linq'.
Resolved assembly reference 'System.Xml.Linq' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xml.Linq.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'LanguageDetection' is referencing assembly 'Newtonsoft.Json'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Newtonsoft.Json'.
Resolved assembly reference 'Newtonsoft.Json' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Newtonsoft.Json.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Runtime.InteropServices.RuntimeInformation'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Runtime.InteropServices.RuntimeInformation'.
Resolved assembly reference 'System.Runtime.InteropServices.RuntimeInformation' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Runtime.InteropServices.RuntimeInformation.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.ObjectModel'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ObjectModel'.
Resolved assembly reference 'System.ObjectModel' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.ObjectModel.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.Threading.Tasks'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Threading.Tasks'.
Resolved assembly reference 'System.Threading.Tasks' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\System.Threading.Tasks.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'Zipangu' is referencing assembly 'System.Text.Encoding.CodePages'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Text.Encoding.CodePages'.
Resolved assembly reference 'System.Text.Encoding.CodePages' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.Text.Encoding.CodePages.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Lucene.Net.Analysis.Kuromoji'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net.Analysis.Kuromoji'.
Resolved assembly reference 'Lucene.Net.Analysis.Kuromoji' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.Analysis.Kuromoji.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'Lucene.Net.Analysis.Kuromoji' is referencing assembly 'Lucene.Net.Analysis.Common'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net.Analysis.Common'.
Resolved assembly reference 'Lucene.Net.Analysis.Common' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.Analysis.Common.dll'. (Used referencing Module's directory.)

here's the log but with no help.

@andy840119
Copy link
Member Author

=============================================
Timestamp (UTC): 2021/01/20 15:05:16
ILMerge version 3.0.0.0
Copyright (C) Microsoft Corporation 2004-2006. All rights reserved.
ILMerge /log:osu.Game.Rulesets.Karaoke.txt /out:osu.Game.Rulesets.Karaoke.Packed.dll osu.Game.Rulesets.Karaoke.dll 
Set platform to 'v4', using directory 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319' for mscorlib.dll
Running on Microsoft (R) .NET Framework v4.0.30319
mscorlib.dll version = 4.0.0.0
The list of input assemblies is:
	osu.Game.Rulesets.Karaoke.dll
Trying to read assembly from the file 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Game.Rulesets.Karaoke.dll'.
Can not use portable PDB file. Debug info will not be available for assembly 'osu.Game.Rulesets.Karaoke.dll'.
	Successfully read in assembly.
	There were no errors reported in osu.Game.Rulesets.Karaoke's metadata.
Checking to see that all of the input assemblies have a compatible PeKind.
	osu.Game.Rulesets.Karaoke.PeKind = ILonly
All input assemblies have a compatible PeKind value.
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'netstandard'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'netstandard'.
Resolved assembly reference 'netstandard' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\netstandard.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osu.Game'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Game'.
Resolved assembly reference 'osu.Game' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Game.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game' is referencing assembly 'osu.Framework'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework'.
Resolved assembly reference 'osu.Framework' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osu.Framework.Microphone'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework.Microphone'.
Resolved assembly reference 'osu.Framework.Microphone' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.Microphone.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Newtonsoft.Json'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Newtonsoft.Json'.
Resolved assembly reference 'Newtonsoft.Json' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Newtonsoft.Json.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osuTK'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osuTK'.
Resolved assembly reference 'osuTK' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osuTK.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'osu.Framework.KaraokeFont'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'osu.Framework.KaraokeFont'.
Resolved assembly reference 'osu.Framework.KaraokeFont' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\osu.Framework.KaraokeFont.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'LyricMaker'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'LyricMaker'.
Resolved assembly reference 'LyricMaker' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\LyricMaker.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Core'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Core'.
Resolved assembly reference 'System.Core' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Core.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Octokit'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Octokit'.
Resolved assembly reference 'Octokit' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Octokit.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Markdig'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Markdig'.
Resolved assembly reference 'Markdig' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Markdig.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Lucene.Net'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net'.
Resolved assembly reference 'Lucene.Net' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'LanguageDetection'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'LanguageDetection'.
Resolved assembly reference 'LanguageDetection' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\LanguageDetection.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'NicoKaraParser'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'NicoKaraParser'.
Resolved assembly reference 'NicoKaraParser' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\NicoKaraParser.dll'. (Used referencing Module's directory.)
Using assembly 'osu.Game.Rulesets.Karaoke' for assembly-level attributes for the target assembly.
Merging assembly 'osu.Game.Rulesets.Karaoke' into target assembly.
AssemblyResolver: Assembly 'osu.Framework' is referencing assembly 'System.Collections.Immutable'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Collections.Immutable'.
Resolved assembly reference 'System.Collections.Immutable' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.Collections.Immutable.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Framework' is referencing assembly 'JetBrains.Annotations'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'JetBrains.Annotations'.
Resolved assembly reference 'JetBrains.Annotations' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\JetBrains.Annotations.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.ValueTuple'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ValueTuple'.
Resolved assembly reference 'System.ValueTuple' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ValueTuple.dll'. (Used referencing Module's directory.)
Copying 1 Win32 Resources from assembly 'osu.Game.Rulesets.Karaoke' into target assembly.
	There were no errors reported in the target assembly's metadata.
ILMerge: Writing target assembly 'osu.Game.Rulesets.Karaoke.Packed.dll'.
AssemblyResolver: Assembly 'osu.Framework.Microphone' is referencing assembly 'ManagedBass'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'ManagedBass'.
Resolved assembly reference 'ManagedBass' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\ManagedBass.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.Runtime'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Runtime'.
Resolved assembly reference 'System.Runtime' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\System.Runtime.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'osu.Framework' is referencing assembly 'SixLabors.ImageSharp'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'SixLabors.ImageSharp'.
Resolved assembly reference 'SixLabors.ImageSharp' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\SixLabors.ImageSharp.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'System.Text.Encodings.Web'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Text.Encodings.Web'.
Resolved assembly reference 'System.Text.Encodings.Web' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.Text.Encodings.Web.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Zipangu'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Zipangu'.
Resolved assembly reference 'Zipangu' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Zipangu.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'WanaKanaSharp'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'WanaKanaSharp'.
Resolved assembly reference 'WanaKanaSharp' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\WanaKanaSharp.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Microsoft.EntityFrameworkCore'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Microsoft.EntityFrameworkCore'.
Resolved assembly reference 'Microsoft.EntityFrameworkCore' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Microsoft.EntityFrameworkCore.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game' is referencing assembly 'System.ComponentModel.Annotations'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ComponentModel.Annotations'.
Resolved assembly reference 'System.ComponentModel.Annotations' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.ComponentModel.Annotations.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Net.Http'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Net.Http'.
Resolved assembly reference 'System.Net.Http' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Net.Http.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Numerics'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Numerics'.
Resolved assembly reference 'System.Numerics' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Numerics.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'netstandard' is referencing assembly 'System.Xml.Linq'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Xml.Linq'.
Resolved assembly reference 'System.Xml.Linq' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xml.Linq.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.ObjectModel'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'System.ObjectModel'.
Resolved assembly reference 'System.ObjectModel' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\System.ObjectModel.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'ManagedBass' is referencing assembly 'System.Threading.Tasks'.
	AssemblyResolver: Attempting referencing assembly's directory.
	AssemblyResolver: Did not find assembly in referencing assembly's directory.
	AssemblyResolver: Attempting input directory.
	AssemblyResolver: Did not find assembly in input directory.
	AssemblyResolver: Attempting user-supplied directories.
	AssemblyResolver: No user-supplied directories.
	AssemblyResolver: Attempting framework directory.
Can not find PDB file. Debug info will not be available for assembly 'System.Threading.Tasks'.
Resolved assembly reference 'System.Threading.Tasks' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\..\v4.0.30319\System.Threading.Tasks.dll'. (Used framework directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'NWaves'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'NWaves'.
Resolved assembly reference 'NWaves' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\NWaves.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'osu.Game.Rulesets.Karaoke' is referencing assembly 'Lucene.Net.Analysis.Kuromoji'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net.Analysis.Kuromoji'.
Resolved assembly reference 'Lucene.Net.Analysis.Kuromoji' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.Analysis.Kuromoji.dll'. (Used referencing Module's directory.)
AssemblyResolver: Assembly 'Lucene.Net.Analysis.Kuromoji' is referencing assembly 'Lucene.Net.Analysis.Common'.
	AssemblyResolver: Attempting referencing assembly's directory.
Can not find PDB file. Debug info will not be available for assembly 'Lucene.Net.Analysis.Common'.
Resolved assembly reference 'Lucene.Net.Analysis.Common' to 'F:\Github\osu-Karaoke\osu-karaoke-release\osu.Game.Rulesets.Karaoke\bin\Release\netstandard2.1\Lucene.Net.Analysis.Common.dll'. (Used referencing Module's directory.)

And here's the log with command:

$(ILMergeConsolePath) /log:osu.Game.Rulesets.Karaoke.txt /out:osu.Game.Rulesets.Karaoke.Packed.dll osu.Game.Rulesets.Karaoke.dll

might because it contains recursive using?
try to fix single dll(osu.Game.Rulesets.Karaoke) case

@andy840119
Copy link
Member Author

@andy840119 andy840119 added the ILMerge Got no idea why there's so much merge tools i need to try. label Feb 8, 2022
@andy840119 andy840119 changed the title Use ILMerge instead of ILRepack [ABORTED] Use ILMerge instead of ILRepack Feb 22, 2022
@andy840119
Copy link
Member Author

Not use this shit because it's not maintained anymore.
Also not expect this shit will work, like other packing tools.

@andy840119 andy840119 changed the title [ABORTED] Use ILMerge instead of ILRepack [ABORT] Use ILMerge instead of ILRepack Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ILMerge Got no idea why there's so much merge tools i need to try. size/M updates Update any package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant