I have a VS2010.NET solution with many projects. One of the projects has a non-source code directory in it. When I build this solution, I need to have that directory copied over to the solution build output directory. What I am trying to do is access the files in that folder at my solution runtime. Since this application will be distributed to multiple computers, I need to also distribute this set of data files.
To review, here's what my (simplified) solution hierarchy looks like
solution
|
+----MainProject
| |
| +----source.cs
|
+----SupportPorject
|
+----source.cs
+----MyFolder
|
+----DataFile1
+----DataFile2
+----DataFile3
When I build the solution, I would like to have the following
solution
|
+----bin
|
+----Debug
| |
| +----Solution.exe
| +----SupportProject.dll
| +----SupportProject.pdb
| +----MyFolder
| |
| +----DataFile1
| +----DataFile2
| +----DataFile3
|
+----Release
|
+----Solution.exe
+----SupportProject.dll
+----MyFolder
|
+----DataFile1
+----DataFile2
+----DataFile3