使用 F# 时,目前无法将 UWP 应用程序发布到商店吗?

Is it currently impossible to publish UWP apps to Store when using F#?

我在 Android、iOS 和 UWP 上有一个 Xamarin.Forms 应用程序,它已经发布到所有相关的应用程序商店。它是用 C# 编写的,但最近在 F# 中部分实现了一项新功能。这意味着我不能在我的 UWP 项目上使用 .NET Native 编译。我关闭了 .NET Native 编译,但发现我现在无法再将更新发布到 Windows Store。

是否有解决此问题的方法,或者暂时不可能将使用 F# 的 Xamarin.Forms 应用程序发布到 Windows 商店?我知道有一个叫做 Desktop bridge 的东西,但我不知道它在这种情况下是否可用。

如果目前无法使用 F# 将 XF 应用程序发布到 Windows 商店,是否有任何关于何时可以实现的估计?

(在 Xamarin Forums 上交叉发布)

此时 [2017 年 9 月 29 日] 据我了解,用于预编译 UWP 应用程序的 .NET Native 技术似乎仍然不支持F#.

这是关于此的 GH 问题,链接 work-around for publishing Win32 and .NET apps--but I suspect if you want a UWP app, no such luck: https://github.com/Microsoft/visualfsharp/issues/1096

2019 年 1 月 23 日更新

可以将 .net native 与 F# UWP 一起使用,但是官方不支持它。

https://github.com/dotnet/corert/issues/6055

We can confirm that .Net Native compilation works now on Store compilation machines, and we have released our beta F# app on the store (link).

https://www.reddit.com/r/fsharp/comments/acj7dn/f_winrtuwp_apps_on_net_native_are_now_releasable/?utm_source=reddit-android

供后代使用的屏幕截图(如果 link 发生变化)