tfpt review "/shelveset:assemblydeps;REDMOND\tomat" Implements loading of assembly dependencies. The approach is similer to IronPython''s one: hooking AssemblyResolve event and searching for assemblies in load paths. It has the same deficiencies: if there are multiple versions of assemblies in different paths and multiple dynamic languages are loaded into the AppDomain they might step on each other and load wrong assemblies. Unfortunately we can''t do anything about that until CLR4. Tomas -------------- next part -------------- A non-text attachment was scrubbed... Name: assemblydeps.diff Type: application/octet-stream Size: 14013 bytes Desc: assemblydeps.diff URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090227/8fab30ee/attachment.obj>
Does this work at all in Silverlight?> -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of Tomas Matousek > Sent: Friday, February 27, 2009 4:40 PM > To: IronRuby External Code Reviewers > Cc: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Code Review: assemblydeps > > tfpt review "/shelveset:assemblydeps;REDMOND\tomat" > > Implements loading of assembly dependencies. The approach is similer > to IronPython''s one: hooking AssemblyResolve event and searching for > assemblies in load paths. It has the same deficiencies: if there are > multiple versions of assemblies in different paths and multiple dynamic > languages are loaded into the AppDomain they might step on each other > and load wrong assemblies. Unfortunately we can''t do anything about > that until CLR4. > > Tomas
No, the event subscribing method (AppDomain::add_AssemblyResolve) is SecurityCritical for some reason. Tomas -----Original Message----- From: Jimmy Schementi Sent: Friday, February 27, 2009 5:21 PM To: ironruby-core at rubyforge.org; IronRuby External Code Reviewers Subject: RE: Code Review: assemblydeps Does this work at all in Silverlight?> -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of Tomas Matousek > Sent: Friday, February 27, 2009 4:40 PM > To: IronRuby External Code Reviewers > Cc: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Code Review: assemblydeps > > tfpt review "/shelveset:assemblydeps;REDMOND\tomat" > > Implements loading of assembly dependencies. The approach is similer > to IronPython''s one: hooking AssemblyResolve event and searching for > assemblies in load paths. It has the same deficiencies: if there are > multiple versions of assemblies in different paths and multiple dynamic > languages are loaded into the AppDomain they might step on each other > and load wrong assemblies. Unfortunately we can''t do anything about > that until CLR4. > > Tomas