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 and added:
<Target Name="AfterBuild">
<Copy SourceFiles="Controllers.xml" DestinationFolder="\bin\Debug" ContinueOnError="true" />
</Target>
What am I doing wrong? The build is successful.