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
精彩评论