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
Douglas Stockwell  
View profile
 More options Dec 14 2007, 10:08 am
From: Douglas Stockwell <d...@11011.net>
Date: Sat, 15 Dec 2007 00:08:18 +0900
Local: Fri, Dec 14 2007 10:08 am
Subject: Re: Loading multiple files with the same name

Isn't it enough to give them a seperate assembly name, but keep the same
file name?

a\foo.dll = "foo{guid1}, v0.0.0, ..."
b\foo.dll = "foo{guid2}, v0.0.0, ..."

Doug

Wayne Kelly 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.


    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