Google Groups Home
Help | Sign in
Message from discussion Loading multiple files with the same name
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
M. David Peterson  
View profile
 More options Dec 14 2007, 4:44 am
From: "M. David Peterson" <xmlhac...@gmail.com>
Date: Fri, 14 Dec 2007 02:44:13 -0700
Local: Fri, Dec 14 2007 4:44 am
Subject: Re: Loading multiple files with the same name

Jb's reply,
Hey,

On 12/14/07, M. David Peterson <m.da...@mdptws.com> wrote:

> Jb: Please see Dr. Kelly's overview of the problem at hand below.  What do
> you think?  Is Cecil the way to go?

Nope. Cecil is about being able to read and write assemblies, without
being tied to the runtime mechanisms. Cecil can by no mean load
assemblies and execute them.

At some point, the RubyDotNet assemblies have to be executed, and if
there's two assemblies with the same name, Cecil can't help (except if
you decide to patch the assemblies before loading time, to include a
random tag at the end of the assembly name, but that doesn't sound
like the way to go (either it is patched with Cecil or perwapi), does
it?).

--
Jb Evain  <j...@nurv.fr>

On Dec 14, 2007 2:43 AM, M. David Peterson <xmlhac...@gmail.com> wrote:

> Retry on this (sent the original messages from the wrong account)---
> PLEASE NOTE: Jb has already replied, his follow-up I will attach in a
> separate follow-up
> ---

> Original Post
> -------------------

> This sounds like exactly what Cecil was designed for.  I've Cc'd Jb Evain,
> Cecil's creator and a member of the Mono Project team.

> Jb: Please see Dr. Kelly's overview of the problem at hand below.  What do
> you think?  Is Cecil the way to go?

> Dr. Kelly: A PDF overview of Cecil can be found @ http://evain.net/conf/Cecil-MonoMeeting07.pdf.
> An overview of the latest release and links to the source and binaries @ http://evain.net/blog/articles/2007/10/05/mono-cecil-0-6

> On Dec 13, 2007 11:40 PM, Wayne Kelly <w.ke...@qut.edu.au> wrote:

> > Ruby programs (such as RubyGems) can load multiple source files with the
> > same base name (ifthey are in different directories).

> > Eg:
> >  require 'A\foo'
> >  require 'B\foo'

> > Each of these source files may have already been separately compiled
> > into an assembly.
> > So, directory A might contain an assembly, presumably named foo.dll, as
> > might directory B.

> > If these assembly files are named foo.dll, then presumably the
> > assemblies will be named "foo".

> > .NET doesn't allow two assemblies with the same name to be loaded in the
> > same app domain.

> > This seems to imply that we need to strongly name all of our generated
> > assemblies;
> > and that we will need to use a different (randomly generated) key for
> > signing each assembly.

> > Please tell me I'm wrong.

> > Can anyone think of an alternative?

> > Cheers, Wayne.

> --
> /M:D

> M. David Peterson
> Co-Founder & Chief Architect, 3rd&Urban, LLC
> Email: m.da...@3rdandUrban.com | m.da...@amp.fm
> Mobile: (206) 418-9027
> http://3rdandUrban.com | http://amp.fm |
> http://www.oreillynet.com/pub/au/2354

--
/M:D

M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: m.da...@3rdandUrban.com | m.da...@amp.fm
Mobile: (206) 418-9027
http://3rdandUrban.com | http://amp.fm |
http://www.oreillynet.com/pub/au/2354


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google