I am currently trying to embed this project xna console in my game but I am having problems with the IronPython Interpreter.
The problem am having is with the following code
this.PythonOutput = new MemoryStream();
ScriptingEngine.pyEngine.SetStandardOutput(PythonOutput); // this line is giving me an error 'Microsoft.Scripting.Hosting.ScriptEngine' does not contain a definition for 'SetStandardOutput' and no extension method 'SetStandardOutput' accepting a first argument of type 'Microsoft.Scripting.Hosting.ScriptEngine' could be found
this.ASCIIEncoder = new ASCIIEncoding();
and the second problem am having is with this code
ClrModule clr = ScriptingEngine.pyEngine.Import("clr") as ClrModule;
clr.AddReference("Microsoft.Xna.Framework");
clr.AddReference("Microsoft.Xna.Framework.Game");
Am getting issues with the ClrModule cannot declare a variable of static type 'IronPython.Runtime.ClrModule also the Import is giving me errors Microsoft.Scripting.Hosting.ScriptEngine does not contain a definition for 'Import'
Am using IronPython version 2.7.1 and .net4