Skip to content

Commit efc8a86

Browse files
authored
Merge pull request #58 from Csantucci/Bug-removal-scripts-not-working
Bug fix for "Scripts don't work any more" https://bugs.launchpad.net/or/+bug/1828710
2 parents 58c69ee + a3780f1 commit efc8a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Common/Scripting/ScriptManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class ScriptManager
3434
{
3535
readonly Simulator Simulator;
3636
readonly Dictionary<string, Assembly> Scripts = new Dictionary<string, Assembly>();
37-
static readonly CSharpCodeProvider Compiler = new CSharpCodeProvider(new Dictionary<string, string>() { { "CompilerVersion", "v3.5" } });
37+
static readonly CSharpCodeProvider Compiler = new CSharpCodeProvider();
3838

3939
static CompilerParameters GetCompilerParameters()
4040
{

0 commit comments

Comments
 (0)