Configuring Post-Build Event Commands?
1 answer
You can use MSBuild Post build event to copy apk from bin \ Android \ Debug to your custom location. You can add PostBuildEvent to your project file to execute copy command or run task to copy apk from one location to another.
<ItemDefinitionGroup>
<PostBuildEvent>
<Command>copy source_apk_location target_apk_location</Command>
<Message>Making a copy of apk</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
To edit the project file, go to the explorer for the solution, within the project node contextmenu click Delete Project -> Edit * .jsproj and after making the changes, reload the project.
+3
source to share