【发布时间】:2017-06-10 15:21:03
【问题描述】:
我有一个 Xamarin Forms 解决方案,其中包含多个 F# 可移植类库。
为了使用最新版本(4.0.0)的 Microsoft.Azure.MobileClient,我需要升级到 FSharp.Core 4.2.1,但这似乎与 Profile 78 不兼容:
无法安装包“FSharp.Core 4.2.1”。你正试图 将此包安装到目标项目中 '.NETPortable,Version=v4.5,Profile=Profile78',但包确实 不包含任何程序集引用或内容文件 与该框架兼容。如需更多信息,请联系 包作者。
可以使用 Xamarin 项目中的 .NET Standard 类库,但是否可以在 F# 中创建 .NET Standard 类库?
这里最好的方法是什么?
【问题讨论】:
-
我不知道你是否可以在 Xamarin 项目中使用 .NET Standard,但你可以在 F# 中创建 .NET Standard 库。 "dotnet new classlib -lang F#"
标签: f# .net-standard