PerlEmbed - C#不能与Interpreter.Language = @“PerlScript”一起使用

时间:2012-12-06 10:25:19

标签: c#

关于以下方法: PerlEmbed - C# - Mono - Linux

当我尝试在行

上运行上面的代码时出现以下错误
Interpreter.Language = @"**PerlScript**"

我可以运行VBScript,但遗憾的是我无法运行PerlScript。我应该做/设置/添加等等吗?

System.Runtime.InteropServices.COMException was unhandled
  HelpLink="MSSCRIPT.HLP"
  Message="***A script engine for the specified language can not be created.***"
  Source="ScriptControl"
  ErrorCode=-2146827908
  StackTrace:
       at MSScriptControl.ScriptControlClass.set_Language(String pbstrLanguage)
       at fpu_Parsing.Perl_Interpreter.Perl_Output_returnString() in D:\Documents and Settings\labuser\My Documents\Visual Studio 2005\Projects\fpu_Parsing\fpu_Parsing\Perl_Interpreter.cs:line 77
       at fpu_Parsing.frmFpuAnalyzer..ctor() in D:\Documents and Settings\labuser\My Documents\Visual Studio 2005\Projects\fpu_Parsing\fpu_Parsing\frmFpuAnalyzer.cs:line 24
       at fpu_Parsing.Program.Main() in D:\Documents and Settings\labuser\My Documents\Visual Studio 2005\Projects\fpu_Parsing\fpu_Parsing\Program.cs:line 17
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

0 个答案:

没有答案