I want to create a folder inside a C# project to contain some configuration files. However, I don't want these files to be copied to bin\Release\MyFolder
. I'd rather have them copied to bin\Release
directly. I'm thinking this may be doable by having a "virtual" folder, like solution folders, but I don't know how to do it.
Is there a way to create a virtual folder in Visual Studio 2008 (C#) projects? Or even better, how can I specify that the (text) file output should be directed to the main output folder?
Copy the file with a Post-build event.