Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Update CoreMain.cs #225

Update CoreMain.cs

Update CoreMain.cs #225

Triggered via push September 6, 2025 06:25
Status Success
Total duration 11m 54s
Artifacts 29

dotnet-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

31 warnings and 1 notice
build-macos: src/ColorMC.Launcher/Program.cs#L246
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-macos: src/ColorMC.Launcher/Program.cs#L243
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-macos: src/ColorMC.Launcher/Program.cs#L240
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-macos: src/ColorMC.Launcher/Program.cs#L224
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-macos: src/ColorMC.Launcher/Program.cs#L237
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-macos: src/ColorMC.Launcher/Program.cs#L222
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-macos: src/ColorMC.Launcher/Program.cs#L215
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-macos: src/ColorMC.Launcher/Program.cs#L211
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-macos: src/ColorMC.Gui/Hook/Win32.cs#L433
The variable 'ex' is declared but never used
build-macos: src/ColorMC.Gui/Hook/Win32.cs#L419
The variable 'ex' is declared but never used
build-linux
No files were found with the provided path: build_out/colormc-linux-a38-aot-x86_64.AppImage. No artifacts will be uploaded.
build-linux: src/ColorMC.Launcher/Program.cs#L246
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-linux: src/ColorMC.Launcher/Program.cs#L243
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-linux: src/ColorMC.Launcher/Program.cs#L240
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-linux: src/ColorMC.Launcher/Program.cs#L224
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-linux: src/ColorMC.Launcher/Program.cs#L237
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L222
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L215
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L211
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-linux: src/ColorMC.Gui/Hook/Win32.cs#L433
The variable 'ex' is declared but never used
build-linux: src/ColorMC.Gui/Hook/Win32.cs#L419
The variable 'ex' is declared but never used
build-windows: src/ColorMC.Launcher/Program.cs#L246
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-windows: src/ColorMC.Launcher/Program.cs#L243
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-windows: src/ColorMC.Launcher/Program.cs#L240
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-windows: src/ColorMC.Launcher/Program.cs#L224
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-windows: src/ColorMC.Launcher/Program.cs#L237
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L222
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L215
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L211
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-windows: src/ColorMC.Gui/Hook/Win32.cs#L433
The variable 'ex' is declared but never used
build-windows: src/ColorMC.Gui/Hook/Win32.cs#L419
The variable 'ex' is declared but never used
build-windows
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
colormc-linux-aarch64-deb Expired
37.8 MB
sha256:16faaf26faa71a5a69e2cd0af178df8c73edc317bf53cff43ff63151f1a09a34
colormc-linux-aarch64-rpm Expired
45.7 MB
sha256:b2ec12bd5da69f12b7d50f1d950295a800148edb44d946eb941a68fb07de3a72
colormc-linux-amd64-deb Expired
39.7 MB
sha256:c2c1ebc1596db7260fc304fdae3b9059ef0255f77f1f76eb8c990a04adda38d0
colormc-linux-aot-amd64-deb Expired
2.69 KB
sha256:8e778acf1e383948956c404ec1a13bd576c8a0ad2cbe413a91c2914aa7700b80
colormc-linux-aot-x86_64-pkg Expired
45 MB
sha256:0648649932ea404127c927df5bc6c725a38edea1accbf62d2d384c33048997db
colormc-linux-aot-x86_64-rpm Expired
45.2 MB
sha256:982d446342830ed0dc12cafde86ea834d2a866ed97bf37a014ca5fd051379b2c
colormc-linux-min-aarch64-deb Expired
22 MB
sha256:13c439474f1c56cf872e069186540d56290d3a079d7834b0466a73c7ff636189
colormc-linux-min-aarch64-rpm Expired
26 MB
sha256:7fb580477c628542b4b562c50cc67a8c9c2ed9c0a5038e3300423ebe87cdd3b1
colormc-linux-min-amd64-deb Expired
22.7 MB
sha256:c71f39cabb8f5060befa0f0fff42c82f42dfc45b61955c269f86fd5db2b24a59
colormc-linux-min-x86_64-appimage Expired
27.3 MB
sha256:d6df7e5d9979c04b6866dcc07cf0e3c0fb622915e6128ce21cdd2cd590823b54
colormc-linux-min-x86_64-pkg Expired
26.7 MB
sha256:a3f5562b03ccea52c17a9eaa23dfd0e9da60e6e2ed907e6edfc827bfbcd0cc0c
colormc-linux-min-x86_64-rpm Expired
26.8 MB
sha256:70ae78dde712a8f1d084a858a38dc6b6f543e9fd1e98117d9bb27eaf6b6191a4
colormc-linux-x86_64-appimage Expired
48.1 MB
sha256:4246f170bfa36af1de22c9d4a6c1cd380a8ee58863baab57b674b6f3ed780ec8
colormc-linux-x86_64-pkg Expired
47.1 MB
sha256:0aac45dc13f9ecd738e2fa4788938fe38ba64e94d367df6b00814aaa53904990
colormc-linux-x86_64-rpm Expired
47.4 MB
sha256:7a28bd5942462e45f9b3a3ce424b9304af9a0e2e597bb2bab98c6f2ebfac73ec
colormc-macos-aarch64 Expired
50.7 MB
sha256:d0534f0f812d1f2a40e585c915d676dc380fb7fc33a4e8cd6a490a1d0a0dbc72
colormc-macos-min-aarch64 Expired
30.2 MB
sha256:8fbdcda6519f9cb0125f807f8c489c1e8d0a46300f3a46c605c21a7aa6744c0a
colormc-macos-min-x86_64 Expired
30.6 MB
sha256:17d90560083edef0844e65f8d1ec5b8e989233bf9d39b83656d0da7ee12c1985
colormc-macos-x86_64 Expired
52 MB
sha256:cc3aa91adae36b9b33c003a1f5a26b26c59a415089b813f7ac1cd6976aa358a9
colormc-windows-aot-arm64 Expired
44 MB
sha256:6712116c0a0ba9f80ca0f070b7679e5a227be129179663a8b8ed6ad9e300f6e1
colormc-windows-aot-x86_64 Expired
45.9 MB
sha256:936cff4a56bf103d22c665822205af8f487e764e4f2a246c84e2060956ce9b1c
colormc-windows-arm64 Expired
42.6 MB
sha256:83f1a0b616b64e573b42f613efbca64b5c644ab1ff2afd57f6bc15f57fe0a70a
colormc-windows-min-arm64 Expired
21.3 MB
sha256:772354cb9de86edd5ba476c66b524389b1041f67930cc9aa60aa86296865b2c0
colormc-windows-min-x86_64 Expired
28.4 MB
sha256:7d679d31d46d3e95f469c2f853422e300c4625c046c79895c97c0c74b455cf09
colormc-windows-x64-aot-msi Expired
37.8 MB
sha256:c8c34f83ea4fc447f6907d33a1b7669d4d699a7174709fbd5572a0f9f5bc581d
colormc-windows-x64-min-msi Expired
29.9 MB
sha256:ed14a5528c7f1c06f0ced712bd295d599ae5e5801a720bb18dfe2ea40cc0dfe5
colormc-windows-x64-msi Expired
51.4 MB
sha256:a296eeb0bbffc1e434109a8123b8d8e082c34545d121e25b30c10e967c77de8a
colormc-windows-x86 Expired
47.9 MB
sha256:c6a56ef4f5de18cacb10bd750ac271642c1e8f05830992f643c35bad85208086
colormc-windows-x86_64 Expired
49.9 MB
sha256:b1b9d92747c25f5280db18d01a7893d7a5829ad56222d7489ebfd13410c1122b