Same AssemblyName

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi..

Is there any way that I can make two assemblies have the same name? I mean
the same AssemblyName not Display Name.

thanks
 
Hello, Tao!

Sure you can, but before your question will be answered you have to provide more
context to your problem ( where assemblies are developed, with what tool are built etc )

T> Is there any way that I can make two assemblies have the same name? I
T> mean
T> the same AssemblyName not Display Name.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Thanks Vadym. It is nice to talk you again. :)

If I have two DLLs and they all have a type T and those 2 T's code is
exactly same. MSDN documents say that if two types in different assembly,
their types are different even their code is same.

So I was wondering if I can make two assemblies look same, maybe I can make
those two types look same.

Thanks again for your help.
 
Hello, Tao!

T> If I have two DLLs and they all have a type T and those 2 T's code is
T> exactly same. MSDN documents say that if two types in different
T> assembly,
T> their types are different even their code is same.

T> So I was wondering if I can make two assemblies look same, maybe I
T> can make
T> those two types look same.

You can create assembly1.dll with type T defined there, then
create assembly2.dll with the same type T ( code and typename will be the same ).

If you will reference these two assemblies, compiler will give you an error. It will complain
about conflicting type names.

Why do you want to do this? What for you have to put the same T in to different assemblies?


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
We have two developers and we both defined an exactly same type T. On his
computer, he compiled a DLL and I need this DLL in my application. As I
created this type T as remote object so I need unwrap it. If I do unwrap, I
need to know the data type.

That's the reason.

thanks.
 
Back
Top