473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Same AssemblyName

Tao
hi..

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

thanks
Nov 9 '06 #1
4 1193
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 )

TIs there any way that I can make two assemblies have the same name? I
Tmean
Tthe same AssemblyName not Display Name.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Nov 9 '06 #2
Tao
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.

"Vadym Stetsyak" wrote:
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 )

TIs there any way that I can make two assemblies have the same name? I
Tmean
Tthe same AssemblyName not Display Name.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot
Nov 9 '06 #3
Hello, Tao!

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

TSo I was wondering if I can make two assemblies look same, maybe I
Tcan make
Tthose 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
Nov 9 '06 #4
Tao
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.

"Vadym Stetsyak" wrote:
Hello, Tao!

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

TSo I was wondering if I can make two assemblies look same, maybe I
Tcan make
Tthose 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
Nov 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Remon Huijts | last post by:
Hi, When I use php mail() in a script on my localhost to send an HTML message to an e-mailaccount on my online host, all is fine. When I use php mail() in a script on my online host to send an...
2
by: Uwe Mayer | last post by:
Hi, sorry for the lack of source code. Here again: I use struct.unpack() to unpack data from a binary file and pass the returned tuple as parameter to __init__ of a class that's supposed to...
0
by: Megan | last post by:
Hi Everybody- I know that this is a really, really long post, but I wanted to try to give you as much background as possible. So here's a quick overview of the issues I'm asking for help with:...
44
by: bq | last post by:
In the code int a; int b = -1; does ANSI C guarantee that "b" is located in memory right after "a" so that "a" refers to "b"? Thanks. bq
1
by: gokoby | last post by:
Hi, I'm developing an application and we are having several different executables for the same application. In .net each executable got his own configuration file (AssemblyName.exe.config). ...
7
by: Sharon | last post by:
Hi all, I've implemented a TCP server using the Socket async methods. When connecting to the server from 3 instances of hyper terminal, i've noticed that each of the newly created server sockets,...
1
by: helloitsme | last post by:
Hi! For a certain requirement, I need to kill the current application and restart the same application again. For that, I have the follofing code in the form-closing event of the application - ...
28
by: SzH | last post by:
Suppose that there is a program that takes two files as its command line arguments. Is there a (cross platform) way to decide whether the two files are the same? Simple string comparison is not...
0
by: Martin Horst | last post by:
Hi, I've got an Windows Service which is communicating with another server using webservices. Everything worked fine but know when I try to create a referenz of the webservice class I get a file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.