Specifying Output Directory Structure

R

ryanbaldwin

Hello, I'm wondering if it's possible in VS.NET 2005 to specify a
specific output structure inside the Debug\Release directories.
Specifically, I want to copy certain assemblies into certain
directories to create a logical, organized output directory.

For example:

bin
Debug
- MyApp.exe
CommonAssemblies
- My1stAssembly.dll
- My2ndAssembly.dll
Modules
- Module1.dll
- Module2.dll

I would like to obtain something like the above without having to
modify the output path on the individual projects, as some of these
projects are used across multiple solutions and I do not wish to affect
those other solutions (by modifying the project's output and
subsequently committing). Preferrably, I only want to modify settings
for the MyApp.exe project, or for the solution as a whole.

Is this possible?
 
M

Michael Nemtsev

Hello (e-mail address removed),

Use PostBuild event in the project property. But consider that your dll's
copy won't be used by your app -it's just copy that invisible to you app
(till u start using them as reference)

Hello, I'm wondering if it's possible in VS.NET 2005 to specify a
specific output structure inside the Debug\Release directories.
Specifically, I want to copy certain assemblies into certain
directories to create a logical, organized output directory.

For example:

bin
Debug
- MyApp.exe
CommonAssemblies
- My1stAssembly.dll
- My2ndAssembly.dll
Modules
- Module1.dll
- Module2.dll
I would like to obtain something like the above without having to
modify the output path on the individual projects, as some of these
projects are used across multiple solutions and I do not wish to
affect those other solutions (by modifying the project's output and
subsequently committing). Preferrably, I only want to modify settings
for the MyApp.exe project, or for the solution as a whole.

Is this possible?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

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