my suggestion is to create all the folders you need in your solution file (so they will be managed by Visual Studio) - and then set click on "Properties" of the files inside those folder, and set Build Action
to be Content
and Copy to Output Directory
as Copy if Newer
:
I use this trick all the time to make sure files and folders are created in BIN
folder where I can use them later on.
Another benefit of doing this is that you don't need to modify build steps in order to get these files processed by ClickOnce - just go to project properties -> Publish -> Application Files - and set Publish Status
to "Include" for the files you need. They will be deployed with your app.