mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
dotnet: Add auto references for common DLLs
This commit is contained in:
parent
a818e54b85
commit
965780bd9e
@ -44,7 +44,11 @@ namespace MCGalaxy.Modules.Compiling
|
||||
}
|
||||
#else
|
||||
protected override ICompilerErrors DoCompile(string[] srcPaths, string dstPath) {
|
||||
List<string> referenced = ProcessInput(srcPaths, "//");
|
||||
List<string> referenced = ProcessInput(srcPaths, "//");
|
||||
referenced.Add("System.Collections.dll"); // needed for List<> etc
|
||||
referenced.Add("System.IO.Compression.dll"); // needed for GZip compression
|
||||
referenced.Add("System.Net.Primitives.dll"); // needed for IPAddress etc
|
||||
|
||||
return RoslynCSharpCompiler.Compile(srcPaths, dstPath, referenced);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user