I need to shell out (to call svn commit on my .application file) after a ClickOnce publish. However I've not been able to find a way to hook it into my MSBuild .csproj file.
- The PostBuild Event is too early
- And calling 'start Some.exe' in PostBuild does not run in the background
- And using the AfterBuild Target from MSBuild is done before the files are deployed.
Dang!
I used the pretty cool MSBuild SideKick to inspect my .csproj file and when I run from inside SideKick the AfterBuild target does in fact happen after build. Hoever; my shell out fails and I'd prefer for things to work from inside the IDE anyway.
Does anyone have any pearls of wisdom in this area?