mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
Fix for old mono versions
This commit is contained in:
parent
0dc86b3809
commit
29e205e26f
@ -193,9 +193,9 @@ namespace MCGalaxy.Modules.Compiling
|
|||||||
string root = RuntimeEnvironment.GetRuntimeDirectory();
|
string root = RuntimeEnvironment.GetRuntimeDirectory();
|
||||||
|
|
||||||
string[] paths = new string[] {
|
string[] paths = new string[] {
|
||||||
Path.Combine(root, "csc.exe"), // C# compiler
|
Path.Combine(root, "csc.exe"), // C# compiler
|
||||||
Path.Combine(root, "mcs.exe"), // old Mono C# compiler
|
Path.Combine(root, @"../bin/mcs"), // old Mono C# compiler
|
||||||
Path.Combine(root, "mcs"), // old Mono C# compiler
|
Path.Combine(root, "mcs.exe"), // old Mono C# compiler
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (string path in paths)
|
foreach (string path in paths)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user