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)
parent
01ceb4d17e
commit
467b591f3a
|
@ -369,14 +369,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
||||||
{
|
{
|
||||||
case enumCompileType.cs:
|
case enumCompileType.cs:
|
||||||
compileScript = CreateCSCompilerScript(
|
compileScript = CreateCSCompilerScript(
|
||||||
compileScript,
|
source,
|
||||||
m_scriptEngine.ScriptClassName,
|
m_scriptEngine.ScriptClassName,
|
||||||
m_scriptEngine.ScriptBaseClassName,
|
m_scriptEngine.ScriptBaseClassName,
|
||||||
m_scriptEngine.ScriptBaseClassParameters);
|
m_scriptEngine.ScriptBaseClassParameters);
|
||||||
break;
|
break;
|
||||||
case enumCompileType.vb:
|
case enumCompileType.vb:
|
||||||
compileScript = CreateVBCompilerScript(
|
compileScript = CreateVBCompilerScript(
|
||||||
compileScript, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName);
|
source, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -549,6 +549,10 @@ namespace SecondLife
|
||||||
parameters.TreatWarningsAsErrors = false;
|
parameters.TreatWarningsAsErrors = false;
|
||||||
parameters.GenerateInMemory = 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;
|
CompilerResults results;
|
||||||
|
|
||||||
CodeDomProvider provider;
|
CodeDomProvider provider;
|
||||||
|
|
Loading…
Reference in New Issue