Posts

Showing posts from February, 2017

How to tell Visual Studio to copy the complete folder and sub folder/files to the output directory?

First add your folder(This is my folder: XULRunner21_0) to your project with all the items added to your project, and then go to your project's Properties>Build Events and write the following command line into Post-build event command line area. 
After building the solution, you should see under bin folder of your project, XULRunner21_0 folder will be created with all the items in it. That is all, hope it help.

PS: While publishing, if we need to copy some folders into the bin folder, we need to follow this documentation and use target events for publishing.

xcopy /E /Y "$(ProjectDir)XULRunner21_0\*""$(ProjectDir)$(OutDir)XULRunner21_0\"