首页 > 解决方案 > Xamarin Essentials 包无法解决 iOS 项目

问题描述

尝试使用 Visual Studio for Mac (MacOS Big Sur 11.1) 构建基本的跨平台 iOS 应用程序时出现以下错误。

错误 NU1100:无法为“.NETStandard,Version=v2.0”解析“Xamarin.Essentials (>= 1.5.3.2)”。

我没有付费的 Apple Developer License,这需要吗?


系统详情:

Xcode 版本 12.3 已安装

Visual Studio Community 2019 for Mac 版本 8.8.6(内部版本 15)安装 UUID:c45b0c40-4814-4e6b-8b98-fc071fdfd6ef GTK+ 2.24.23(Raleigh 主题)Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

套餐版本:612000113

Mono Framework MDK 运行时:Mono 6.12.0.113 (2020-02/4fdfb5b1fd5) (64-bit) 包版本:612000113

Roslyn(语言服务)3.8.0-5.20519.18+4c195c3ac1974edcefa76774d7a59a2350ec55fa

NuGet 版本:5.8.0.6860

.NET Core SDK SDK:/usr/local/share/dotnet/sdk/5.0.102/Sdks SDK 版本:5.0.102 5.0.101 3.1.405 3.1.404 3.0.100 2.1.812 MSBuild SDK:/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

.NET Core 运行时运行时:/usr/local/share/dotnet/dotnet 运行时版本:5.0.2 5.0.1 3.1.11 3.1.10 3.0.0 2.1.24

.NET Core 3.1 SDK SDK:3.1.405

Xamarin.Profiler 版本:1.6.15.68 位置:/Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

更新版本:11

苹果开发者工具 Xcode 12.3 (17715) Build 12C33

Xamarin.Mac 版本:7.2.0.3(Visual Studio 社区)哈希:c51fabee8 分支:xcode12.3 构建日期:2020-12-10 21:05:04-0500

Xamarin.iOS 版本:14.8.0.3(Visual Studio 社区)哈希:c51fabee8 分支:xcode12.3 构建日期:2020-12-10 21:05:05-0500

Xamarin Designer 版本:16.8.0.510 哈希:44e3f3ce9 分支:remotes/origin/d16-8 构建日期:2020-12-10 00:06:14 UTC

未安装 Xamarin.Android

适用于移动 Java SDK 的 Microsoft OpenJDK:未找到

此处提供 Android Designer EPL 代码: https ://github.com/xamarin/AndroidDesigner.EPL

Android SDK 管理器版本:16.8.0.32 哈希:01a7774 分支:remote/origin/d16-8 构建日期:2021-01-14 00:34:58 UTC

Android 设备管理器版本:16.8.0.46 哈希:0a81419 分支:remote/origin/d16-8 构建日期:2021-01-14 00:35:22 UTC

构建信息 发布 ID:808060015 Git 修订:d34d29b4643a130479d762e4d2b5750e6462fde7 构建日期:2021-01-15 08:35:04-05 构建分支:release-8.8 Xamarin 扩展:d34d29b4643a130479d762e2fde25646

操作系统 Mac OS X 10.16.0 Darwin 20.2.0 Darwin Kernel Version 20.2.0 Wed Dec 2 20:39:59 PST 2020 root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

标签: iosmacosvisual-studioxamarin

解决方案


推荐阅读