Pergunta

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. How can I make Visual Studio copy the file into the output directory when I debug/build?

Screenshot of my project

Foi útil?

Solução

You need to change the Build Action (Buildvorgang) to Content or None

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top