Oops... don't leave script source out of compilation in same cases
parent
e685d8dcef
commit
96aecf80ef
|
@ -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,9 @@ namespace SecondLife
|
||||||
parameters.TreatWarningsAsErrors = false;
|
parameters.TreatWarningsAsErrors = false;
|
||||||
parameters.GenerateInMemory = false;
|
parameters.GenerateInMemory = false;
|
||||||
|
|
||||||
|
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