|
|
|
@ -434,8 +434,9 @@ namespace CppSharp
@@ -434,8 +434,9 @@ namespace CppSharp
|
|
|
|
|
CompilerOptions = compilerOptions.ToString() |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
compilerParameters.ReferencedAssemblies.Add( |
|
|
|
|
string.Format("{0}.dll", AST.Module.SystemModule.LibraryName)); |
|
|
|
|
if (module != AST.Module.SystemModule) |
|
|
|
|
compilerParameters.ReferencedAssemblies.Add( |
|
|
|
|
string.Format("{0}.dll", AST.Module.SystemModule.LibraryName)); |
|
|
|
|
// add a reference to System.Core
|
|
|
|
|
compilerParameters.ReferencedAssemblies.Add(typeof(Enumerable).Assembly.Location); |
|
|
|
|
|
|
|
|
|