You can use <CodeBase> setting in the application configuration file. 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.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht
ml/gngrfCodeBase.asp
--------------------
[quoted text, click to view] >Reply-To: "Ken Varn" <nospam>
>From: "Ken Varn" <nospam>
>Subject: Assembly path question?
>Date: Fri, 18 Jun 2004 15:13:44 -0400
>Lines: 19
>Organization: Diebold Inc.
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <OAIFNiWVEHA.712@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.clr
>NNTP-Posting-Host: 204.151.249.23
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
[quoted text, click to view] >Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.clr:10930
>X-Tomcat-NG: microsoft.public.dotnet.framework.clr
>
>Is there anyway to locate an assembly from a path that is not relative to
>the current path without using the GAC?
>
>For instance. I have a .net application in C:\DirA\DirB that needs to use
>an assembly class in C:\DirC. Is there a way to have the exe find the
>assembly without using the GAC? I read about probing, in the configuration
>file, but it states that it can only be specified in terms of relative
path.
>
>--
>-----------------------------------
>Ken Varn
>Senior Software Engineer
>Diebold Inc.
>
>EmailID = varnk
>Domain = Diebold.com
>-----------------------------------
>
>
>
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.