visual studio - Copy always to output directory does not work -


I have found a simple console project where I am reading two excel files, excel files are included in the project ("existing Add items ") and I marked them with" Copy Output Directory "However, when debugging / code running, they are not copied to the debug-directory.

I think I have forgotten something insignificant, why do I need to do more?

The change in non-source code files is not the reason for rebuilding - when compiler it Older is checking, then they are not considered.

Try to completely rebuild your entire output directory by removing it completely (sometimes the studio is not complete from within this view).

It may be that the files have not been copied because a full build has not been run.


Comments