mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
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 |
||
|---|---|---|
| .. | ||
| Compiler.cs | ||
| CompileRunner.cs | ||
| SimpleUnloadableAssemblyLoadContext.cs | ||