Configuring Post-Build Event Commands?

Can Post Build be installed in VS2013 and Multi-Device Hybrid Apps CTP3? I want to be able to copy the output APK to another location.

0


source to share


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. enter image description hereenter image description here

+3


source







All Articles