Ich versuche pythonnet runtime dll von scriptcs zu laden und es funktioniert nicht mit roslyn backend, weil dynamic in Roslyn nicht unterstützt wird , aber Mono-Back-End-Drossel mit dem folgenden Fehler:für Skripte `dynamic` wird nicht von Roslyn unterstützt und nur mit mono, aber mono scheitert an 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
Frage:
Wie kann ich Mono-Backend von scriptcs mit Python.Runtime.DLL zu arbeiten? Muss ich irgendwelche DLLs vorher laden? Muss die Python.Runtime.DLL mit Mono-Unterstützung oder .NET kompiliert werden?
https://github.com/scriptcs/scriptcs/issues/1092 – denfromufa