You need to change the Build Action (Buildvorgang) to Content or None
"Copy to ouput directory" doesn't work like I thought
-
06-07-2023 - |
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?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow