C# – Where to Add a folder in .net solution so that while building the project folder should be created

c++visual-studio-2005visual-studio-2008

Where to Add a folder in .net solution so that while building the project folder should be created?

Best Solution

You could just use a post-build step:

mkdir $(TargetDir)\MyDirectory