Replace custom mono defines with toolchain-provided defines.
This commit is contained in:
committed by
Matthias Mailänder
parent
3e5666ca53
commit
a152bf7324
@@ -351,7 +351,7 @@ namespace OpenRA
|
||||
{
|
||||
var rendererPath = Path.Combine(Platform.BinDir, "OpenRA.Platforms." + p + ".dll");
|
||||
|
||||
#if !MONO
|
||||
#if NET5_0_OR_GREATER
|
||||
var loader = new AssemblyLoader(rendererPath);
|
||||
var platformType = loader.LoadDefaultAssembly().GetTypes().SingleOrDefault(t => typeof(IPlatform).IsAssignableFrom(t));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user