O'Reilly logo

Mobile DevOps by Jhalak Modi, Rohin Tak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compiling the application

Now that we have our Android Keystore ready and prepped for use, we can look at the Visual Studio project. In order to automate this in the build system, we need to configure the project to use our Keystore credentials:

  1. In Visual Studio, edit the Android application .csproj file and add another PropertyGroup element as shown in the following code:
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> <AndroidKeyStore>True</AndroidKeyStore> <AndroidSigningKeyStore>myandroid.keystore</AndroidSigningKeyStore> <AndroidSigningStorePass>yourpassword</AndroidSigningStorePass> <AndroidSigningKeyAlias>myaliasdroidpub</AndroidSigningKeyAlias> <AndroidSigningKeyPass>yourpassword</AndroidSigningKeyPass> </PropertyGroup> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required