scriptcsからpythonnetランタイムDLLをロードしようとしていますが、roslynしかし、モノのバックエンドは、次のエラーでチョーク:はスクリプト `dynamic`はRoslynでサポートされておらず、モノでのみ利用可能ですが、DLLでモノラルが失敗します
$ scriptcs -modules mono
scriptcs (ctrl-c to exit or :help for help)
> #r "F:\Python\Python27\Lib\site-packages\Python.Runtime.dll"
error CS0009: Metadata file `F:\Python\Python27\Lib\site-packages\Python.Runtime.dll' does not contain valid metadata
質問:
どのように私はPython.Runtime.DLLでの作業scriptcsのモノのバックエンドを得ることができますか?それ以前にDLLをロードする必要はありますか? Python.Runtime.DLLはMonoサポートでコンパイルする必要がありますか.NETは問題ありませんか?
https://github.com/scriptcs/scriptcs/issues/1092 – denfromufa