By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,919 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,919 IT Pros & Developers. It's quick & easy.

Same assembly in different deployments

P: n/a
This is probably a very basic question.

I have created a class library, when builded it produces a dll called
test.dll. This dll I use as reference in many different applications. When I
create a deployment project, this dll is added to the output and is shipped
with the application.

When installed, the dll is placed in the same directory as the application
exe file. So for each application the same dll is deployed and therefor the
same assembly is placed in many different directories.

So the thing is: How can I change the setup/code/properties so the
application will look in a different directory for this particular assembly
at runtime, while it look for other assemblies in the application path?

Please note, that it is not an option to install ALL applications in the
same directory.

TIA

PZ
Apr 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Preben Zacho" <pz@edbgruppen.dk> wrote in message
news:Os**************@TK2MSFTNGP05.phx.gbl...
This is probably a very basic question.

I have created a class library, when builded it produces a dll called
test.dll. This dll I use as reference in many different applications. When
I create a deployment project, this dll is added to the output and is
shipped with the application.

When installed, the dll is placed in the same directory as the application
exe file. So for each application the same dll is deployed and therefor
the same assembly is placed in many different directories.

So the thing is: How can I change the setup/code/properties so the
application will look in a different directory for this particular
assembly at runtime, while it look for other assemblies in the application
path?

Please note, that it is not an option to install ALL applications in the
same directory.

TIA

PZ


So, instead of xcopy deployment? You can use the GAC (Global Assembly
Cache) ... look it up on MSDN and do a search for GAC.

Mythran

Apr 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.