开发者

Is there a Microsoft.CSharp in mono (2.10)?

Does mono have a CSharpCodeProvider implemented that I should be using instead of Microsoft.CSharp.CSharpCodeProvider?

I am using the class to dynamically compile c# scripts from a compiled program but mono throws an error under linux: ->Unhandled Exception: System.ComponentModel.Win32Exception: Cannot find the spe开发者_开发技巧cified file


you should use the Mono.CSharp.Evaluator class in the Mono.Sharp.dll assembly


It should work under Mono. If you are using Linux, make sure your DLLs are in your path and make sure you are properly capitalizing it. Linux is case sensitive and it may not find System.dll if your code says system.dll

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜