[IronPython] Cannot create instances of RuntimeType because it has no public constructors
marscel at googlemail.com
Mon Dec 28 04:22:00 PST 2009
I have a problem with my application. It's written in C# and embeds
IronPython. In C#, I have a class that looks like this:
public class foo
I put this into the ScriptScope I use by doing:
Operations like: a = fooclass() work without any problem, but the following
IronPython does not work and raises the error: Cannot create instances of
RuntimeType because it has no public constructors. Code:
Name = "Unused"
ObjTileTypeUnused = TileTypeUnused()
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users