471,319 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Why copy local with DLL in VS.NET?

What is the difference in
copy local = true/false

in VS.NET when referencing a DLL? I've noticed that changes to the DLL
(recompiling) aren't reflected in my project either way. I have to
remove then add the DLL to see any changes.

Thanks,
Brett

Dec 13 '05 #1
4 9717
If project has copylocal = true references, the dlls to which he refers will
be copied in the same folder, where output binary will be located.

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
What is the difference in
copy local = true/false

in VS.NET when referencing a DLL? I've noticed that changes to the DLL
(recompiling) aren't reflected in my project either way. I have to
remove then add the DLL to see any changes.

Thanks,
Brett

Dec 13 '05 #2
Uh, yeah, that's correct. So what good does it do you?

Dec 13 '05 #3
Brett,

This allows XCOPY deployment, i.e. you can copy the directory to another
directory (maybe in another machine, as long as it has .NET runtime) and the
app will run since it will find locally anything it needs.

Regards - Octavio
"Brett Romero" <ac*****@cygen.com> escribió en el mensaje
news:11*********************@o13g2000cwo.googlegro ups.com...
Uh, yeah, that's correct. So what good does it do you?

Dec 13 '05 #4

Example : you use a third party component which is installed in the GAC on
developers PCs. However, for your clients, you might not want to have this
same component installed in their GACs, you might just want to deploy the
third party assemblies in the same directory as your normal application
files. Using Local Copy true in this case, makes it easier to create to
deployment package, since all the files you need are in the same output
directory for your project.
"Brett Romero" <ac*****@cygen.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Uh, yeah, that's correct. So what good does it do you?

Dec 14 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Anna | last post: by
5 posts views Thread by I wish | last post: by
1 post views Thread by Tony Johansson | last post: by
3 posts views Thread by Tony Johansson | last post: by
1 post views Thread by tony | last post: by
15 posts views Thread by subramanian100in | last post: by

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.