Minecraft-Console-Client/MinecraftClient
copilot-swe-agent[bot] da3b2de2ce Fix Roslyn compiler missing netstandard/System.Runtime references (CS0012)
Add netstandard.dll and System.Runtime.dll as metadata references in both
the self-contained and non-self-contained compilation paths. These facade
assemblies are required when scripts reference libraries targeting
netstandard (e.g. Brigadier.NET), preventing CS0012 errors like:
"The type 'Object' is defined in an assembly that is not referenced."

Also make the self-contained path resilient to missing facade assemblies
by catching FileNotFoundException instead of throwing.

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/d34fe951-43e5-412d-8d7f-cf9bee3a0d77
2026-03-24 18:10:04 +00:00
..
ChatBots Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
CommandHandler Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Commands refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
config Fix command registration for external MCC scripts 2026-03-24 17:43:14 +00:00
Crypto refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Inventory Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Logger refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Mapping Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Physics refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol Fixed inventory crashing on 1.13-1.13.2 2026-03-24 15:39:50 +01:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources Replace PPFT/urlPost HTML scraping with OAuth 2.0 device code flow for 2FA support 2026-03-23 15:38:47 +00:00
Scripting Fix Roslyn compiler missing netstandard/System.Runtime references (CS0012) 2026-03-24 18:10:04 +00:00
WinAPI Bug fix 2022-10-10 10:56:12 +08:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ColorHelper.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Fix ParseJson crash on non-JSON plain-text input (e.g. vanilla MOTD) 2026-03-22 19:53:15 +01:00
McClient.cs Fix command registration for external MCC scripts 2026-03-24 17:43:14 +00:00
MinecraftClient.csproj Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
Program.cs Merge remote-tracking branch 'origin/master' into copilot/modernize-code-to-csharp-14 2026-03-24 08:52:57 +00:00
Settings.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
UpgradeHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00