Probably the <codebase> element (Specifies where the common language runtime
can find an assembly). can help you out:
http://msdn.microsoft.com/library/de...us/cpgenref/ht
ml/gngrfcodebase.asp
For the runtime to use the <codeBase> setting in a machine configuration
file or publisher policy file, the file must also redirect the assembly
version. Application configuration files can have a codebase setting without
redirecting the assembly version. After determining which assembly version
to use, the runtime applies the codebase setting from the file that
determines the version. If no codebase is indicated, the runtime probes for
the assembly in the usual way.
If the assembly has a strong name, the codebase setting can be anywhere on
the local intranet or the Internet. If the assembly is a private assembly,
the codebase setting must be a path relative to the application's directory.
For assemblies without a strong name, version is ignored and the loader uses
the first appearance of <codebase> inside <dependentAssembly>. If there is
an entry in the application configuration file that redirects binding to
another assembly, the redirection will take precedence even if the assembly
version doesn't match the binding request.
--
Greetz
Jan Tielens
________________________________
Read my weblog:
http://weblogs.asp.net/jan
"Anthony C" <> wrote in message
news: om...
> Is it possible to change the BIN directory to be something else on the
> PC?
>
> Namely, we're using single directory deployment for a base app. The
> web services allow other clients to get data from the client on my PC.
> Since the webservice references a few middle tier objects, I want the
> webservice to reside in the same folder (so I do not need to deploy
> the middle tier objects twice).
>
> Is this possible?
>
> In other words, instead of having
>
> c:\inetpub\wwwroot\application and
> c:\inetpub\wwwroot\application\bin
>
> I want
>
> c:\inetpub\wwwroot\application and
> c:\inetpub\wwwroot\application\custombindirectory