From 467b591f3a71a8d776fbda143076b290c9ac4b82 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 18 Feb 2018 13:55:19 +0000 Subject: [PATCH] COmment out relocation of tmp cs source file during compilation. This seems to cause issues on same win servers, and is only usefull on deep scripts debug (Xengine compiler) --- OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 20f9770d3c..89211a5cba 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -369,14 +369,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools { case enumCompileType.cs: compileScript = CreateCSCompilerScript( - compileScript, + source, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName, m_scriptEngine.ScriptBaseClassParameters); break; case enumCompileType.vb: compileScript = CreateVBCompilerScript( - compileScript, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName); + source, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName); break; } } @@ -549,6 +549,10 @@ namespace SecondLife parameters.TreatWarningsAsErrors = false; parameters.GenerateInMemory = false; +// this seems to cause issues on some windows servers +// parameters.TempFiles = new TempFileCollection(Path.Combine(ScriptEnginesPath, +// m_scriptEngine.World.RegionInfo.RegionID.ToString()), CompileWithDebugInformation); + CompilerResults results; CodeDomProvider provider;