This should work as you're doing it (the only curiosity I see is the backslashes instead of the forward slashes). I'll need to investigate this one and get back to you later today.
Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Drucker Sent: Wednesday, February 15, 2006 6:11 PM To: Discussion of IronPython Subject: Re: [IronPython] IronPython 1.0 Beta 3 Released! Also having problems with Assemblies. I've got an assembly that references another assembly. Even when I do the following: import clr clr.Path = ['C://code//assemblyloc'] clr.AddReferenceToFile('Aforge.Imaging.dll') I get an error that it can't load 'AForge.Math' . Aforge.Math is in the given location. In fact, if I just do a clr.AddReferenceToFile('Aforge.Math.dll'), it works fine. This was broken in Beta1, fixed in Beta2, but seems to be broken again. (Or at least, I'm not sure of the proper calling procedure). --S -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Kale Sent: Wednesday, February 15, 2006 5:35 PM To: 'Discussion of IronPython' Subject: Re: [IronPython] IronPython 1.0 Beta 3 Released! Trying to add a reference to System.Xml, I get StackOverflowException. [] C:\Program Files\IronPython (Thu 16/02 1:19) >IronPythonConsole.exe -X:TabCompletion IronPython 1.0.2237 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import clr >>> clr.AddReference("System.Xml") Process is terminated due to StackOverflowException. The fix appears to be to change AddReference(object reference): private void AddReference(object reference) { string strRef = reference as string; if (strRef != null) { AddReference(strRef); return; } AddReference(reference, null); } but since this is my first time in the IP code I could well be wrong... -- Jon _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com