Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / May 2006

Tip: Looking for answers? Try searching our database.

Reference DLL with CopyLocal = False problem ....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Toma Marinov - 04 May 2006 10:21 GMT
Hello !
I have a client Win application on VB (2005). I want to use my DLL which is
on a server and I made a Reference to this DLL. But I dont want this dll to
be copied localy and set property CopyLocal to False. When I execute the
application I recieve an error message that file couldnt be found /because it
is searched localy/
I check my Reference paths in Project properties - there is a valid path to
the dll on the server
I dont use GAC ..

So, can I reference a DLL from a server with CopyLocal = false and without
GAC ?
Kind regards,
Toma
Marina Levit [MVP] - 04 May 2006 16:29 GMT
CopyLocal is just a visual studio directive. It tells it whether or not to
copy the file to the build directory or not.

It is not in any way related to wheret he file has to be located at run
time.  And the project file is again, just something for visual studio to
help it keep track of what is in your project, etc.

All of this, is just to help visual studio properly build your project.

At run time, the file has to be either wherever the executable is, or in the
GAC.  There are ways to set up config file settings to tell the executable
to look in a subdirectory as well.

> Hello !
> I have a client Win application on VB (2005). I want to use my DLL which
[quoted text clipped - 14 lines]
> Kind regards,
> Toma

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.