Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.92 KB

MSBuild.md

File metadata and controls

58 lines (42 loc) · 1.92 KB

Xamarin.Android.Lite MSBuild properties

See Xamarin.Android.Lite.targets for implementation.

Here is a list of MSBuild properties you can configure in your Xamarin.Android.Lite project. Reasonable defaults are used if they are omitted. These are meant to align with the same property names in Xamarin.Android, but there may be differences...

Important properties

<AndroidSdkDirectory></AndroidSdkDirectory>

  • path to your Android SDK

<AndroidNdkDirectory></AndroidNdkDirectory>

  • path to your Android NDK

<JavaSdkDirectory></JavaSdkDirectory>

  • path to Java

<AndroidPackageName></AndroidPackageName>

  • your package name for the AndroidManifest.xml, defaults to com.$(AssemblyName) if omitted.

<AndroidApplicationClass></AndroidApplicationClass>

  • your Xamarin.Forms App type. This is used to load your App via Type.GetType. It defaults to $(RootNamespace).App, $(AssemblyName) if omitted.

<AndroidAppTitle></AndroidAppTitle>

  • the android:label of your <application /> in the AndroidManifest.xml file. It defaults to $(ProjectName) if omitted.

<AndroidActivityTitle></AndroidActivityTitle>

  • the android:label of your <activity /> in the AndroidManifest.xml file. It defaults to $(ProjectName) if omitted.

Signing properties

TODO: Xamarin.Android.Lite assumes these already exist! Meaning you have build and deployed a Xamarin.Android (proper) app in the past!

<AndroidSigningKeyStore></AndroidSigningKeyStore>

  • Keystore file to sign the app, defaults to $(LocalAppData)\Xamarin\Mono for Android\debug.keystore

<AndroidSigningKeyAlias></AndroidSigningKeyAlias>

  • Keystore alias, defaults to androiddebugkey

<AndroidSigningKeyPass></AndroidSigningKeyPass>

  • Keystore "key password", defaults to android

<AndroidSigningStorePass></AndroidSigningStorePass>

  • Keystore "store password", defaults to android