Copy to Output Directory copies folder structure but only want to copy files

You can add a Post Build Event to copy the files.
Go to project properties, Build Events tab and add the following to the Post-build event command line:

copy "$(ProjectDir)\common\browserhawk\*.*" "$(TargetDir)"

Be sure to include the quotes if your project path has spaces in it.

Leave a Comment