适用于 Windows 的 Xamarin Studio 问题 : framework not installed . NETPortable 配置文件 136

标签 xamarin portable-class-library xamarin-studio

我想使用 xamarin studio for windows 开发我的应用程序的 android 版本。以前我在 Mac 上使用它。问题是,当我在 Windows 机器上打开解决方案时,由于引用的可移植子集存在问题,无法构建所有可移植项目。 “Framework not installed .NETPortable profile 136”显示在引用树中。安装了以下工具:Mono for Windows 3.2.3; MDK 3.4; Xamarin.Android 4.12.4;适用于 VS 2010 的 PortableLibraryTools。

最佳答案

Profile136 包含在 Portable Library Reference Assemblies 4.6 中.可移植图书馆工具 2 不包括此配置文件。

The Portable Library Reference Assemblies 4.6 下载安装一个 zip 文件到

C:\Program Files (x86)\Microsoft .NET Portable Library Reference Assemblies 4.6\PortableReferenceAssemblies.zip

您需要将其解压缩并将内容提取到目录中

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable

之后,您将需要重新安装 Xamarin.Android,以便将 Xamarin.Android 配置文件添加到这些配置文件中。

关于适用于 Windows 的 Xamarin Studio 问题 : framework not installed . NETPortable 配置文件 136,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24056357/

相关文章:

c# - 找不到类型或命名空间 'System'。全新安装 Visual Studio 2017

ios - UILabel 剪切文本顶部

xamarin.ios - 在 MonoTouch 下构建 System.Net 代理 DLL - 避免 "Friend access"冲突?

android - 在 Android 上的 Xamarin Studio 上使用 AdMob,Google Play 服务不存在

xamarin - 如何将单点触控 UI 元素的 'enabled' 属性绑定(bind)到 Mvvmcross 中的 View 模型 bool 值

ios - Xamarin IOS 自定义 URL 方案在 iOS 14 中不起作用

portable-class-library - 在可移植库 (PCL) 上的 Web 服务调用上发送的消息头

.net - 可移植类库中是否支持 Interlocked.Read 和 'long' 重载?

servicestack - 在 MonoDevelop 中使用特定版本的包

xamarin - 在 Xamarin Studio 中移动文本