Rider equivalent of VS "Post-build event command line"

I'm trying to do something pretty common from Visual Studio in Rider where you run a script after building.  What is the recommended approach for IDEA/Rider to do something simple like copy files via command line?  Additionally, are there macros like $(ConfigurationName), $(TargetName), etc. that can be used.

8
1 comment

AFAIK, there are no UI to edit Pre- and PostBuildEvents, but you may edit them directly in csproj (use F4 on project in Solution Explorer).
And they will work just same as in pure MSBuild or VS or what ever tool, which calls MSBuild internally.
Some examples: http://www.mono-project.com/archived/porting_msbuild_projects_to_xbuild/#prepostbuildevents

1

Please sign in to leave a comment.