Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Microsoft.Scripting.Hosting?

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

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

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.

like image 553
wishi Avatar asked Nov 05 '09 14:11

wishi


1 Answers

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

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

like image 114
Jason Avatar answered Oct 25 '22 18:10

Jason