Remove deprecated mono runtime backend

Old `mono` backend was not maintained for since 1.7 (July 2023)
`dotnet` backend still can run `mono` on AOT platforms but with the latest .NET features.
This commit is contained in:
2026-06-03 16:35:06 +02:00
parent a544cbcfde
commit e450658834
250 changed files with 193 additions and 44908 deletions
@@ -584,7 +584,6 @@ namespace FlaxEditor.Modules.SourceCodeEditing
var codeBase = Utils.GetAssemblyLocation(assembly);
if (string.IsNullOrEmpty(codeBase))
return true;
#if USE_NETCORE
if (assembly.ManifestModule.FullyQualifiedName == "<In Memory Module>")
return false;
@@ -592,11 +591,6 @@ namespace FlaxEditor.Modules.SourceCodeEditing
string repositoryUrl = assembly.GetCustomAttributes<AssemblyMetadataAttribute>().FirstOrDefault(x => x.Key == "RepositoryUrl")?.Value ?? "";
if (repositoryUrl != "https://github.com/dotnet/runtime")
return true;
#else
// Skip assemblies from in-build Mono directory
if (!codeBase.Contains("/Mono/lib/mono/"))
return true;
#endif
return false;
}