我试图在我的Sony ST23i(Android 4.0.3-API 15)上打开this应用。所以我改变了#34;最低Android到目标"到" Android 4.0.3 API等级15"来自" Android 4.3 API Level 18"。但是现在我在尝试部署应用程序时遇到了这些错误。
The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.0) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll (v7.0) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (v7.0) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
我无法从csproj文件中增加TargetFrameworkVersion,它会返回到6.如何在手机上运行此应用程序?
答案 0 :(得分:1)
在android的csproj文件中,此行存在。
<TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
我把它改成了这个。<TargetFrameworkVersion>v7.0</TargetFrameworkVersion>
但是当我用visual studio打开项目时,它又回到了6.0
您可以按照以下两个步骤更改TargetFrameworkVersion
: