Are the XNA assemblies in the same directory as your script? I don't
think they are in the GAC, so unless they in the same place as the ipy
script, or a directory in your path, they won't be loaded.
L8r, Paul
Gigs_ wrote:
Hi all!
i want to run some ironpython xna script, but all the tim im
That was it. Curt to the rescue again. Thanks.
A possible suggestion would be a more descriptive error message :)
Curt Hagenlocher wrote:
This indicates that your executable directory does not contain
IronPython.Modules.dll.
On Thu, Apr 3, 2008 at 7:35 PM, Paul Turbett [EMAIL PROTECTED
Hi
Was there ever a solution to this problem? I'm getting the same thing,
though not with NUnit. To port my IP interface from 1.1 to 2.0 (beta 1),
I created a separate test application, which worked fine. However I'm
merging the code into my real application, but I'm not able to create
a
Hi,
I'm attempting to update an application framework that uses IP1.1 to use
IP2b1. In the framework, I create python objects that are derived from
C# classes, so I can bind to an interface at compile time. I do this
from C# by executing the .py file that defines the class, getting the
class
Awesome, thanks!
Curt Hagenlocher wrote:
On Sun, Mar 30, 2008 at 2:59 AM, Paul Turbett [EMAIL PROTECTED] wrote:
I've looked through the DLR hosting spec, and experimented a bit, but I
can't see how to get the same thing working with DLR hosting. So, how do
I create instances of python
the fepy pickle.
I'd be interested to trying using the DLR hosting mechanism...does
anybody know of any docs about upgrading from IP 1.x to IP 2 script hosting?
Thanks, Paul
Sanghyeon Seo wrote:
2008/3/26, Paul Turbett [EMAIL PROTECTED]:
It seems that whilst serializing .NET classes
Hi,
I'm using IP as a scripting engine in a C# app. I have various Python
classes that derive from a C# base class, and have there own additional
data functionality.
I would like to be able to serialize instances of the Python classes
from the C# host for persistence across sessions. Using
That did it, thanks!
Dino Viehland wrote:
You could use Ops.TryGetAttr which doesn't take a context (and flows the
default context in for you).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Turbett
Sent: Tuesday, February 12, 2008 5:30 AM
Hi,
I'm attempting to get an attribute from python object from C# using a
method like this:
public object GetAttr(object pyObject, string name)
{
ICallerContext context = _pythonEngine.DefaultModule as ICallerContext;
object value = Ops.GetAttr( context, pyObject,