The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0) xamarin

Manoj Maharana picture Manoj Maharana · May 2, 2017 · Viewed 20k times · Source

the error is on visual studio 2017 and xamarin:

Severity Code Description Project File Line Suppression State

Warning The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0).
You need to increase the $(TargetFrameworkVersion) for your project.

IpiCommunicationXamarin.Android D:\XmarainTest\IpiCommunicationXamarin\IpiCommunicationXamarin\IpiCommunicationXamarin.Android\IpiCommunicationXamarin.Android.csproj

Answer

mindOfAi picture mindOfAi · May 2, 2017

It means you have a reference (FormsViewGroup.dll) which uses the Android Framework Version of 7.1, but your project only targets 6.0.

You can update your Android Target Framework Version by going to your Android Project Properties (right click the Android Project and click Properties) and go to Application tab. If you can't find the 7.1 on the dropdown, you can install it using Android SDK Manager (I think 7.1 is API 25).

Hope this helps!