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: [email protected] 
[mailto:[email protected]] On Behalf Of Owen Sigurdson
Sent: Wednesday, November 25, 2009 7:03 AM
To: [email protected]
Subject: [IronPython] Re the The Fifth Assembly post 
(http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx)

Hello,

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=2.0.0.0, 
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?


_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to