Silverlight 浏览器外应用程序能否转换为通用 Windows 平台 (UWP) 应用程序? [英] Can a Silverlight out-of-browser app be converted to Universal Windows Platform (UWP) app?

查看:26
本文介绍了Silverlight 浏览器外应用程序能否转换为通用 Windows 平台 (UWP) 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这篇来自 Microsoft 的文章:通用指南Windows 平台 (UWP) 应用声明您可以将经典桌面应用程序(如 Win32、Windows 窗体和 WPF)或游戏转换为通用 Windows 平台 (UWP) 应用或游戏.

This article from Microsoft: Guide to Universal Windows Platform (UWP) apps states that you can convert your classic desktop application (like Win32, Windows Forms, and WPF) or game to a Universal Windows Platform (UWP) app or game.

对于 Silverlight 浏览器外的应用程序是否可以实现相同的效果?

Can the same be achieved for a Silverlight out-of-browser application?

推荐答案

遗憾的是,没有简单且完全自动化的方法将您的 Silverlight 应用程序移植到 UWP,主要是因为 API 占用空间在 2 个平台之间发生了变化和更新.有很多相似之处,但也有很多需要手动更改的重大更改.

Unfortunately there is no easy and fully automated way to port your Silverlight app to UWP mostly because the API footprint has changed and updated between the 2 platforms. There are a lot of similarities but also a lot of breaking changes that require some manual changes.

不确定这是否是您要在问题中引用的文章,但是 此处 是 Microsoft 对此升级路径的指导.

Not sure if this is the article you meant to reference in your question but here is Microsoft's guidance to this upgrade path.

来自上面的文章:

注意本指南旨在帮助您手动将 Windows Phone Silverlight 应用程序移植到 Windows 10.除了使用本指南中的信息移植您的应用程序之外,您还可以尝试 Mobilize.NET 的 Silverlight Bridge 的开发人员预览版,以帮助自动化移植过程.此工具分析您的应用程序的源代码并将对 Windows Phone Silverlight 控件和 API 的引用转换为其 UWP 对应项.由于此工具仍处于开发者预览阶段,因此尚不能处理所有转换场景.但是,大多数开发人员应该能够通过使用此工具来节省一些时间和精力.要试用开发者预览版,请访问 Mobilize.NET 的网站.

Note This guide is designed to help you port your Windows Phone Silverlight app to Windows 10 manually. In addition to using the information in this guide to port your app, you can try the developer preview of Mobilize.NET's Silverlight Bridge to help automate the porting process. This tool analyzes your app's source code and converts references to Windows Phone Silverlight controls and APIs to their UWP counterparts. Because this tool is still in developer preview, it does not yet handle all conversion scenarios. However, most developers should be able to save some time and effort by starting with this tool. To try the developer preview, visit Mobilize.NET's website.

这篇关于Silverlight 浏览器外应用程序能否转换为通用 Windows 平台 (UWP) 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆