title: Xamarin choosing TargetFramework and MinimumAndroidVersion
body: <p>I'm developing a Xamarin Forms application(currently only Android support). The default setup set TargetFramework to 7.1. The minimum android version for this project must be 7.0. This produces a warning:</p>
  
  <blockquote>
    <p>The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll (vv7.1) is greater than the $(TargetFrameworkVersion) for your project (v7.0). You need to increase the $(TargetFrameworkVersion) for your project.
    It seems natural to me, to compile for the version that you will be using. Is that not the case?</p>
  </blockquote>
  
  <p>This articles <em>recommends</em> to always compile with the latest version. Is there any benefit to compiling with the latest version for my application?
  <a href="https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/android-api-levels?tabs=vswin#framework" rel="noreferrer">https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/android-api-levels?tabs=vswin#framework</a></p>