如何使用Microsoft.Scripting.Hosting? [英] How to use Microsoft.Scripting.Hosting?

查看:1113
本文介绍了如何使用Microsoft.Scripting.Hosting?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要嵌入一些IronPython的代码到C#我想使用的ScriptEngine

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

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



我发现IronPython的参考,但如果是Scripting.Hosting必要的参考?我不能在2008年VisualStudio中找到它,瞄准的.Net 3.5。

I found the reference for IronPython, but where is the necessary reference for Scripting.Hosting? I can't find it within VisualStudio 2008, targeting .Net 3.5.

推荐答案

它看起来像这样这里是DLR二进制文件的一部分...了解更多信息:

It looks like this is part of the DLR binaries ... more information here:

https://blogs.msdn.com/seshadripv/archive/2008/06/24/how-to-write-a-simple-dlr-host-in-c-using-hosting -api.aspx

这篇关于如何使用Microsoft.Scripting.Hosting?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆