How to use Microsoft.Scripting.Hosting?

后端 未结 4 1179
心在旅途
心在旅途 2020-12-06 02:50

To embed some IronPython Code into C# I want to use the ScriptEngine

using IronPython.Hosting;
using Microsoft.Scripting.Hosting;

I found t

4条回答
  •  生来不讨喜
    2020-12-06 03:00

    I suggest that you use NuGet instead of managing the binaries yourself.

    This worked for me. http://nuget.org/packages/DynamicLanguageRuntime.Net40.Unofficial

提交回复
热议问题