简体   繁体   English

如何将 C# UWP 应用程序的非 UI 部分转换为 JavaScript?

[英]How would I transpile non-UI portions of a C# UWP app to JavaScript?

I want to be very clear that I am not asking how to transpile a C# UWP app to a JavaScript UWP app.我想非常清楚,我不是在问如何将 C# UWP 应用程序转换为 JavaScript ZADD4E130E8FD2570CZ 应用程序。 I am, rather, attempting to extract portions of an existing C# UWP application that can be migrated to create a Node.js server.相反,我正在尝试提取现有 C# UWP 应用程序的一部分,可以迁移该应用程序以创建 Node.js 服务器。 I attempted to use Bridge.NET , but my impression (correct me if I'm wrong) is that there is no way to build an app that targets both UWP and .NET.我尝试使用Bridge.NET ,但我的印象(如果我错了,请纠正我)是无法构建同时针对 UWP 和 .NET 的应用程序。 If there is, this alone would likely solve my problem.如果有,仅此一项就可能解决我的问题。

This should be possible using the Uno Platform ;使用Uno 平台应该可以做到这一点; see this blog post .看到这篇博文 Alternatively, have a look at this workaround .或者,看看这个解决方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM