.dll reference path change?

J

js

I have two projects: the first generates a .exe and the second generates a
..dll. The .exe project references the .dll project. During build, I want
the .dll to be in the .exe's bin/debug/subfolder instead of the bin/debug
folder. How can this be done?

I have tried changing the build path of the .dll project (configuration
properties>build>output path) to the .exe bin/debug/subfolder. I also tried
to change the .exe reference path list (common properties>references path)
to include, and exclusively be, bin/debug/subfolder. But neither of these
worked. It keeps building the .dll in the .exe's bin/debug folder. Even if
I manually make a bin/debug/subfolder and manually put the .dll in there,
the .exe doesn't use it.

Any suggestion would be appreciated.

Thanks,
John
 
P

Pete Davis

If you add the .dll as a reference to .exe the project, the by default, it
will be copied (local copy=true property for reference) to the build
directory in the .exe.

Pete
 
J

js

Right, but how do I change it from that .exe build directory to somewhere
else? Like a subdirectory inside of the .exe build directory?

Thanks
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top