c# - Confused about Xamarin project Android framework versions (Minimal vs Target) -


context

i using vs 2017 , xamarin develop android app. specification requires app should run on android 5 (lollipop) , above. set vs project properties/android manifest/minimum android version android 5.0 (api level 21 - lollipop). set target android version same. getting

the $(targetframeworkversion) formsviewgroup.dll (v7.0) greater $(targetframeworkversion) project (v5.0). need increase $(targetframeworkversion) project. 

although understand problem, not want set 'target android version' 7.0.

question

maybe problem not understand difference between minimal , target framework setting.

bottom line: build app capable run on devices 5.0 lollipop , above, should do? formsviewgroup.dll (v7.0) suitable build or must downgrade reference (along others have same issue?)

if want run on minimum of 5.0 can set minimum api 21, oldest api app support. target api specific android framework version app compiled @ build time.

the general rule xamarin says follow minimum android version < target android version < target frameworkmeaning target android version should bounded minimum android , target framework.

for more information have great overview explaining in detail.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -