This error occurs in visual studio when performing a standard build so I can't see any reflection only loads happening at that time (unless visual studio itself is doing a reflection only load).
From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Dino Viehland Sent: Monday, November 30, 2009 12:29 PM To: Discussion of IronPython Subject: Re: [IronPython] Re the The Fifth Assemblypost (http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx) 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-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Owen Sigurdson Sent: Wednesday, November 25, 2009 7:03 AM To: users@lists.ironpython.com 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 Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com