[IronPython] Re the The Fifth Assembly post (http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx)

Dino Viehland dinov at microsoft.com
Mon Nov 30 20:28:42 CET 2009

How are the assemblies getting loaded here?  Given the error message it seems like IronPython or some other DLL is getting loaded in a reflection only context.  IronPython and the DLR doesn't ever do that it's probably your own code which is doing that.  I would expect if you simply load the ExtensionAttribute assembly first (also as reflection only) then you'd be fine.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Owen Sigurdson
Sent: Wednesday, November 25, 2009 7:03 AM
To: users at lists.ironpython.com
Subject: [IronPython] Re the The Fifth Assembly post (http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx)


We are experiencing the problem that is mentioned in this post using IronPython 2.6 RC 2 but are un-able to un-reference the associated assembly.  I am getting the following error:

Error      2              Unknown build error, 'Cannot resolve dependency to assembly 'Microsoft.Scripting.ExtensionAttribute, Version=, Culture=neutral, PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'

Would anyone have any insight into what is going on here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091130/d872f626/attachment.html>

More information about the Ironpython-users mailing list