Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specify merge and fallback mode for NUnit script tests.

  • Loading branch information...
commit 4084ed2b607360da84b0084cd7be7d63c2d8c543 1 parent 5c7acf3
@polyethene authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Tests/Scripting/Scripting.cs
View
2  Tests/Scripting/Scripting.cs
@@ -43,7 +43,7 @@ string RunScript(string source, bool execute)
using (var provider = new IACodeProvider())
{
- var options = new CompilerParameters { GenerateExecutable = false, GenerateInMemory = true, };
+ var options = new IACompilerParameters { GenerateExecutable = false, GenerateInMemory = true, Merge = true, MergeFallbackToLink = true };
results = provider.CompileAssemblyFromFile(options, source);
}
Please sign in to comment.
Something went wrong with that request. Please try again.