[UWP]将WPF-app转换为UWP App,如何处理NetFramework? [英] [UWP] Converting WPF-app into UWP App, how to handle the NetFramework ?

查看:359
本文介绍了[UWP]将WPF-app转换为UWP App,如何处理NetFramework?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我的任务是将WPF应用转换为UWP应用,我有这些问题。

Recently I was task to convert WPF app into UWP app, I have these questions.

1)是否使用.NetCore框架的UWP应用程序?

1) Is UWP app using .NetCore Framework?

2)WPF应用程序正在使用.NetFramework 4.5 并且使用也基于Net framework 4.5的第三方SDK,如果UWP使用.NetCore,可以将此WPF应用程序转换为UWP App。

2)The WPF app is using .NetFramework 4.5  and using 3rd Party SDK which also base on Net framework 4.5, If UWP is using .NetCore, can this WPF app converted into UWP App.

我想知道会 有任何问题,因为第三方SDK基于.NetFramework 4.5。

I want to know will  there be any issue since the 3rd party SDK is base on .NetFramework 4.5.

谢谢

推荐答案

Hi FireDance,

Hi FireDance,

>>"1 )UWP应用程序是否使用.NetCore框架?"

>>" 1) Is UWP app using .NetCore Framework?"

是。

> >"2)WPF应用正在使用.NetFramework 4.5 并且使用也基于Net framework 4.5的第三方SDK,如果UWP使用.NetCore,这个WPF应用程序可以转换为UWP App。"

>>" 2)The WPF app is using .NetFramework 4.5  and using 3rd Party SDK which also base on Net framework 4.5, If UWP is using .NetCore, can this WPF app converted into UWP App."

In一般情况下,我会查看此文档
"准备一个应用程序转换前使用"桌面桥"进行转换。从本文档中,您将了解仅支持.NET 4.6.1。您必须将应用程序重新定位到.NET 4.6.1。

In general, I’ll check this document "Prepare an app for conversion with the Desktop Bridge" before converting. From this document, you will know that Only .NET 4.6.1 is supported. You must retarget your app to .NET 4.6.1.

本文关于
"桌面桥 - 桌面应用程序和通用Windows平台之间的桥梁"
在你开始将WPF转换为UWP之前对你有所帮助。

This article about "Desktop Bridge – The bridge between desktop apps and the Universal Windows Platform" would be helpful to you before you start to convert WPF to UWP.

最好的问候,

Xavier Eoro

Xavier Eoro


这篇关于[UWP]将WPF-app转换为UWP App,如何处理NetFramework?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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