On 7/9/07, Dino Viehland <[EMAIL PROTECTED]> wrote: > I haven't heard of this one before... Are you calling clr.AddReference or > one of the other clr.AddReference* methods? There's some clr methods which > correspond to CLR methods which won't load partial assembly names.
Actually I checked and I wasn't calling clr.AddReference at all. The form designer must've clobbered it. I've got to keep an eye on that thing. Adding the clr.AddReference for the appropriate assemblies solved the problem. Thanks! -Dan > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Eloff > Sent: Monday, July 09, 2007 10:33 AM > To: IronPython Mailing List > Subject: [IronPython] Can't import System? > > I created a winforms project in IronPython, compiled it and it worked > great. Then I made some changes and now it says it can't import any of > the .NET assemblies. FileNotFoundError: "Could not load file or > assembly 'System.Data' or one of its dependencies. The system cannot > find the file specified." > > It happens for System, System.Data, System.Drawing, > System.Windows.Forms, and System.XML. > > Does anybody have any ideas why this might be happening? > > Thanks, > -Dan > _______________________________________________ > users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
