Marty,
I understand you want to do this in the IDE e.g. upon running project from
the IDE (F5 or Ctrl+F5 ) myFolder to be created in the correct output
folder.
What I'd do in this case is I'm going to create myFolder in the project
folder (along with the rest of the source files) then I'm going to add a
post-build event that is going to be like
md "$(TargetDir)myFolder"
copy"$(ProjectDir)*.*"$(TargetDir)myFolder"
VS creates *bat* file out of the code for the build events so you can use
any command prompt command there.
To add post-build event in VS2003 for C# open the project propeties and find
"Build Events" settings under the "Common Properties" sections.
I hope that you use C# because in VS2003 VB don't support build events. As a
matter if fact if you add the post-build event directly in the vb project
file it will execute it, but next time you do something on the project
settings in the IDE the build event will be removed.
In VS2005 both VB and C# support build events.
--
HTH
Stoitcho Goutsev (100) [C# MVP]
"Marty" <xm******@hotmail.com> wrote in message
news:l9llf.234949$ir4.204910@edtnps90...
Hi,
I want to add a folder (named myFolder) to my project and fill it with
files and want it to appear under "../projectFolder/bin/debug/myFolder"
and "../projectFolder/bin/release/myFolder". I want my program to access
files within "myFolder".
What is the procedure in the IDE to do that? The only location I got was
"../projectFolder/bin/myFolder" doing "add folder" from the project.
Thank you :)
Marty