how to include DLLs from a lower directory?
am 29.01.2008 18:55:20 von Michael Bray
I have a web project that I am deploying as part of a standard installer
for a Windows Service application, with the web application stored in a
subdirectory. Some of the DLLs that the web app needs are located in the
service application directory.
Instead of duplicating the DLLs in to the web app dir, I'd like it to use
the ones in the service app dir. Is there a way to configure the
web.config to tell it to find these other DLLs in the web app's parent
directory (the service app directory)?
-mdb
RE: how to include DLLs from a lower directory?
am 29.01.2008 19:10:32 von brucebarker
short of installing them in the gac (bad idea) no. its just disk space, copy
them. this has the advange that even if the service directory is changed, you
app still runs with the version it was tested with. you can then deploy an
update to the shared dll, after testing with the app.
-- bruce (sqlwork.com)
"Michael Bray" wrote:
> I have a web project that I am deploying as part of a standard installer
> for a Windows Service application, with the web application stored in a
> subdirectory. Some of the DLLs that the web app needs are located in the
> service application directory.
>
> Instead of duplicating the DLLs in to the web app dir, I'd like it to use
> the ones in the service app dir. Is there a way to configure the
> web.config to tell it to find these other DLLs in the web app's parent
> directory (the service app directory)?
>
> -mdb
>
RE: how to include DLLs from a lower directory?
am 29.01.2008 19:20:59 von Michael Bray
=?Utf-8?B?YnJ1Y2UgYmFya2Vy?=
wrote in news:F5EEA9BE-7E9A-4768-A06A-3A1447C4E68F@microsoft.com:
> short of installing them in the gac (bad idea) no. its just disk
> space, copy them. this has the advange that even if the service
> directory is changed, you app still runs with the version it was
> tested with. you can then deploy an update to the shared dll, after
> testing with the app.
>
I thought that might be the case. thanks!
-mdb