我的 Visual Studio 2017 nuget 包无法安装 Xamarin.Forms 可移植类库项目中出现以下错误
Severity Code Description Project File Line Suppression State Error Could not install package 'Xamarin.Android.Support.Compat 25.3.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
最佳答案
Xamarin.Android.Support.Compat
版本 25.3.1 具有以下依赖项
回复:https://www.nuget.org/packages/Xamarin.Android.Support.Compat/25.3.1
您需要设置
Target Framework
至少到 7.0
.回复:https://developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#Target_Framework
关于xamarin - 目标 'MonoAndroid,Version=v6.0' 项目依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47399204/