I am currently using the post build event in my project to copy my assemblies to another directory for debugging purposes. This is local to my machine and is for debugging only, so I would rather have it in the * .csproj.user file instead of the * .csproj file. I tried to copy the responsible elements from * .csproj to * .csproj.user, but this did not work.
Edit To clarify, I do not want to add custom commands to the post-build event in the * .csproj file. Instead, I want to put the post-build event commands in a * .csproj.user file. (From the answers so far this seems impossible)
To provide more context, this is not a reference to the project. I copy my assembly to the application directory, which loads assemblies at runtime. (Think plugins)
source share