[IronPython] XNA 4.0

Mauricio Souza Lima mauriciosl at yahoo.com.br
Fri Dec 10 12:22:04 CET 2010

Hi all.

I'm trying to run the XNA example posted here:

But i'm trying that with XNA and .NET 4.0 on IronPython 2.6.
After changing some imports that seems to be different in XNA 4.0 version, the 
program gives me this error:

Traceback (most recent call last):
  File "xna_test.py", line 33, in <module>
  File "xna_test.py", line 13, in __init__
  File "xna_test.py", line 17, in initializeComponent
SystemError: The invoked member is not supported in a dynamic assembly.

The line 17 is this one:

self.graphics = GraphicsDeviceManager(self)

Program can be seen here:

 Mauricio Souza Lima
mauriciosl at yahoo.com.br


More information about the Ironpython-users mailing list