For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > May 2006 > Can I make VS put DLLs in a sub folder?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Can I make VS put DLLs in a sub folder?
ssg31415926

2006-05-11, 8:03 am

I've written an Add-In DLL for my project. It makes use of several
other DLLs. Is there any way to force Visual Studio to put my DLL into
'bin' and the other DLLs into a subfolder e.b. 'bin\lib'?

Brendan Green

2006-05-11, 7:04 pm

Would a post-build event work for you?

"ssg31415926" <newsjunkmail@gmail.com> wrote in message
news:1147344619.548601.174580@y43g2000cwc.googlegroups.com...
> I've written an Add-In DLL for my project. It makes use of several
> other DLLs. Is there any way to force Visual Studio to put my DLL into
> 'bin' and the other DLLs into a subfolder e.b. 'bin\lib'?
>



Phil Cairns

2006-05-12, 4:03 am

ssg31415926 wrote:
> I've written an Add-In DLL for my project. It makes use of several
> other DLLs. Is there any way to force Visual Studio to put my DLL into
> 'bin' and the other DLLs into a subfolder e.b. 'bin\lib'?


Get the properties for the project, and go to Configuration
Properties.Linker.General. The Output File that probably reads something
like "$(OutDir)/$(ProjectName).dll" can be changed to
"bin/lib/$(ProjectName).dll".

Phil.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com