Deployable content in a Visual Studio 2005 project ... how?

I have a Vanilla Visual Studio 2005 solution with one C ++ project that contains some files without code that I would like to include in my build process.

For example, I have a .xml file with "Content" set to "True" in the path relative to my project directory. In my opinion, this should be copied to the output directory in the same relative path from the project.

alt text http://img27.imageshack.us/img27/9876/deployablecontent.gif

However, nothing is copied. What gives?

The directory structure looks like this:

./           <- This is the project directory.
./content    <- This is where my "deployable" content is.
./include
./src
./build      <- This is the temp directory used when compiling.
./dist       <- This is the output directory.

After doing the debug build, I expect my output to be like this:

./
./content
./include
./src
./build
./dist
./dist/debug             <- Compiled code is now here.
./dist/debug/content     <- My "deployable" files should be here.

, "" "" (, ), , . , ?

+3
1

Post-Build, . , , , , . , , , Windows. , , .

+1

Source: https://habr.com/ru/post/1705003/


All Articles