System.Linq
名前空間を Boo コンパイラにインポートしようとすると、次のエラーが発生します。
Boo.Lang.Compiler.CompilerError:
名前空間 'System.Linq' が見つかりません。アセンブリ参照を追加するのを忘れた可能性がありますか?
「Rhino.DSL.dll」を使用しており、DSL エンジン コードは次のとおりです。
public class MyDslEngine : DslEngine
{
protected override void CustomizeCompiler(BooCompiler compiler, CompilerPipeline pipeline, string[] urls)
{
pipeline.Insert(1, new AnonymousBaseClassCompilerStep(typeof(DslBase), "Prepare",
"System.Linq",
"Azarakhsh.Framework.Repository" //it's my repository framework
));
pipeline.Insert(2, new UseSymbolsStep());
pipeline.Insert(3, new RunScriptCompilerStep());
}
}