Copy to ouput directory doesn't work like I thought <p>This question is probably asked thousand times, but no answer helped me. I added a XML file to my project and wanted it to be copied into the output directory when I debug/build the project. So I set "Copy to ouput directory" to "Copy always", but Visual Studio/Compiler doesn't copy the file into the output directory. <strong>How can I make Visual Studio copy the file into the output directory when I debug/build?</strong></p> <p><img src="https://i.stack.imgur.com/oDYS0.png" alt="Screenshot of my project"></p>