I want to copy an xml file from the main directory to bin\\Debug after building the project, but my solution doesn\'t work. I edited .csproj file a
bin\\Debug
.csproj
You have to specify the full path. I suspect the MsBuild copy task is running from the "Default path" of Visual Studio, and the file can not be found. Also, you most likely want the file to end up in the build target directory.