UWP-目标.NET版本? [英] UWP - Targeted .NET version?

查看:295
本文介绍了UWP-目标.NET版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我始终能够为常规.NET项目设置目标框架版本。在UWP应用中,我只能设置



您还可以设置最低目标版本。



此外,由于UWP .NET项目(C#或Visual Basic)基于.NET Core,因此您可以通过.nuget升级(或降级).NET Core版本:


I was always able to set the target framework version for regular .NET projects. In a UWP app I can only set the "Windows 10 build version".

How do they relate to the .NET (core? native?) platform versions?

解决方案

UWP doesn't target a NET framework version, but it targets an SDK version, you can change the sdk version in project properties:

You can also set the minimum target version.

Furthermore, since UWP .NET Project (C# or Visual basic) is based on .NET Core you can upgrade (or downgrade) the .NET Core version through .nuget:

这篇关于UWP-目标.NET版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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