Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Include all files when debugging in Visual Studio?

How do I setup Visual Studio 2008 to include all files in the project root when debugging?

I have a few files in the project root folder which are not copied to the bin/debug folder so when I am about to debug the application I have to manually copy the files. I'm looking for a way to make VS automatically include these files in the debug build process. Any hints?

Thank you. /Adam

like image 556
Adam Asham Avatar asked Mar 06 '09 13:03

Adam Asham


1 Answers

For non-source and non-resource files (so are not part of the compilation), set the "Copy To Output Directory" setting in that file's properties to something other than "Do Not Copy".

like image 194
Richard Avatar answered Oct 01 '22 00:10

Richard