diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 20f9770..649485f 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 | |||
369 | { | 369 | { |
370 | case enumCompileType.cs: | 370 | case enumCompileType.cs: |
371 | compileScript = CreateCSCompilerScript( | 371 | compileScript = CreateCSCompilerScript( |
372 | compileScript, | 372 | source, |
373 | m_scriptEngine.ScriptClassName, | 373 | m_scriptEngine.ScriptClassName, |
374 | m_scriptEngine.ScriptBaseClassName, | 374 | m_scriptEngine.ScriptBaseClassName, |
375 | m_scriptEngine.ScriptBaseClassParameters); | 375 | m_scriptEngine.ScriptBaseClassParameters); |
376 | break; | 376 | break; |
377 | case enumCompileType.vb: | 377 | case enumCompileType.vb: |
378 | compileScript = CreateVBCompilerScript( | 378 | compileScript = CreateVBCompilerScript( |
379 | compileScript, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName); | 379 | source, m_scriptEngine.ScriptClassName, m_scriptEngine.ScriptBaseClassName); |
380 | break; | 380 | break; |
381 | } | 381 | } |
382 | } | 382 | } |
@@ -549,6 +549,9 @@ namespace SecondLife | |||
549 | parameters.TreatWarningsAsErrors = false; | 549 | parameters.TreatWarningsAsErrors = false; |
550 | parameters.GenerateInMemory = false; | 550 | parameters.GenerateInMemory = false; |
551 | 551 | ||
552 | parameters.TempFiles = new TempFileCollection(Path.Combine(ScriptEnginesPath, | ||
553 | m_scriptEngine.World.RegionInfo.RegionID.ToString()), CompileWithDebugInformation); | ||
554 | |||
552 | CompilerResults results; | 555 | CompilerResults results; |
553 | 556 | ||
554 | CodeDomProvider provider; | 557 | CodeDomProvider provider; |