モノトゥッチでJintを少し試してみたいと思いますが、Jint-Monoプロジェクト(モノトーンバージョンではなくモノラル)はMacで動作しますが、動作させることはできませんiPhoneのために。私はこのクラスをcrated:Jint Engineをモノトゥッチで使用しようとしています
namespace iPhoneTests
{
public class JintObject
{
public JintObject()
{
var jintEngine = new JintEngine();
jintEngine.Run
(
@"Console.WriteLine('Hello World')"
);
}
}
}
と私は例外エラーを取得JintObjectメソッドを呼び出そうとするたびに:
Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
at Jint.Marshaller.WrapMethod (System.Reflection.MethodInfo info, Boolean passGlobal) [0x00000] in <filename unknown>:0
at Jint.Native.NativeMethod..ctor (System.Reflection.MethodInfo info, Jint.Native.JsObject prototype, IGlobal global) [0x00000] in <filename unknown>:0
at Jint.Native.NativeConstructor.ReflectOverload (ICollection`1 methods) [0x00000] in <filename unknown>:0
私が間違って何をしているのですか?
を書き込む必要に使用するPCL https://github.com/ある新しいバージョンで試してみてくださいsebastienros/jint https://www.nuget.org/packages/Jintアナウンス:https://jint.codeplex.com/discussions/536901 –