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)

httptests
UbitUmarov 2018-02-18 13:55:19 +00:00
parent 01ceb4d17e
commit 467b591f3a
1 changed files with 6 additions and 2 deletions

View File

@ -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;