aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-08-18 19:54:04 +0000
committerTedd Hansen2007-08-18 19:54:04 +0000
commit1d41fd4984308a4b811f40aca18a90a79f243020 (patch)
tree8752672490125f9809e3801088a7a53b74103432 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
parentMoved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region... (diff)
downloadopensim-SC-1d41fd4984308a4b811f40aca18a90a79f243020.zip
opensim-SC-1d41fd4984308a4b811f40aca18a90a79f243020.tar.gz
opensim-SC-1d41fd4984308a4b811f40aca18a90a79f243020.tar.bz2
opensim-SC-1d41fd4984308a4b811f40aca18a90a79f243020.tar.xz
Working on AppDomains. Scripting is now officially broken. :]
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
index 6e992be..4c2ceb0 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
@@ -52,10 +52,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
52 System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); 52 System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters();
53 parameters.IncludeDebugInformation = true; 53 parameters.IncludeDebugInformation = true;
54 // Add all available assemblies 54 // Add all available assemblies
55 foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) 55 //foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
56 { 56 //{
57 parameters.ReferencedAssemblies.Add(asm.Location); 57 // Console.WriteLine("Adding assembly: " + asm.Location);
58 } 58 // parameters.ReferencedAssemblies.Add(asm.Location);
59 //}
60
61 parameters.ReferencedAssemblies.Add(this.GetType().Assembly.CodeBase);
59 //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment"); 62 //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment");
60 parameters.GenerateExecutable = false; 63 parameters.GenerateExecutable = false;
61 parameters.OutputAssembly = OutFile; 64 parameters.OutputAssembly = OutFile;