473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Reference DLL with CopyLocal = False problem ....

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
May 4 '06 #1
1 1848
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.

"Toma Marinov" <To*********@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
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

May 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Yuva | last post by:
Does the copylocal property in references change with any machine settings or visual studio settings ? I open the same solution in IDE in two different machines and the copylocal property of...
3
by: bill joyce | last post by:
I have installed an assembly in the GAC ( a DAL), now I want to make a reference to it in my Business Obj. This is one way I found out how to do it is there another way? <system.web>...
3
by: marfi95 | last post by:
In the project I'm working on, I have a reference to another project of mine that is the base class objects for my system. The problem I have is that when I build my project, it compiles, but I...
2
by: Nick | last post by:
Hi there, No chance anyone has experienced VS.NET removing references from a project? I have 1 reference routinely removed by the IDE, only resolve is to add it again, and it can get quite...
2
by: Jake Barnes | last post by:
Using javascript closures to create singletons to ensure the survival of a reference to an HTML block when removeChild() may remove the last reference to the block and thus destory the block is...
2
by: Brett Romero | last post by:
When I set copylocal=false on my project and try to step through it, I get a file not found on one of my dependencies. The error is thrown before anything executes. The file is in the referenced...
0
by: Michael Nemtsev | last post by:
Use asp.net 2.0 project, without "WebProject 2003" plugin. So, all references are in the web.config file How can I set "CopyLocal" for the references in web.config? can't find attributes for...
4
by: Mythran | last post by:
We have more than one version of an assembly that contains web controls installed in the GAC. In our application, we want to always reference the most recent version of the assembly WITHOUT...
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.