I'd like to automatically create different installed versions of my app when I run in Debug mode or Release mode eg Install MyApp.apk in release mode and MyApp-Debug.apk in Debug mode.
This is so that when I disconnect my USB connection to the device I can still run the last Release version of the code that I created.
I'm pretty certain that this can be done with Custom Build Actions, after the complile but I'm unsure exactly what to specify.
Yes, that is the point. When I'm making frequent changes to the code during development, I often disconnect my device from the PC but want to try a reasonably up to date version, and then I could run the last version created in Release mode.