Windows RT .NET 兼容性

编程入门 行业动态 更新时间:2024-10-07 17:31:05
本文介绍了Windows RT .NET 兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我只需要知道我是否需要相同的框架来开发适用于平板电脑 (Windows RT) 和 PC 的 Windows 8 应用程序,或者平板电脑仍然使用 .NET 紧凑型框架.

I just need to know if I need the same framework to develop an app for Windows 8 for Tablets (Windows RT) and PCs or the tablet one still uses .NET compact framework.

推荐答案

在 Windows RT(即 Windows 8 的平板电脑/ARM 版本)上运行的唯一应用程序类型是 Windows 应用商店应用程序.这些是在 WinRT API 之上运行的全屏应用程序.

The only type of applications that run on Windows RT (ie. the Tablet/ARM version of Windows 8) are Windows Store Apps. These are full-screen applications that run on top of the WinRT API.

您可以在这些设备上使用 .NET 4.5 的一个子集,并使用 XAML 来构建您的界面,就像在桌面上使用 WPF 一样.

You can use a subset of .NET 4.5 on these devices, and use XAML to build your interface just like you would with WPF on the desktop.

您可以在 MSDN 上阅读更多内容 - .NET for Windows Store 应用概述.本文介绍了 .NET 主要版本与可供您使用的 Windows RT 子集之间的许多更改.通常,Windows.Runtime 将提供一些不再存在的 .NET 方法的替代方法.

You can read more on MSDN - .NET for Windows Store apps overview. This article describes a lot of the changes between the main version of .NET and the Windows RT subset that's available to you. Generally, Windows.Runtime will provide alternatives to some of the .NET methods that no longer exist.

这篇关于Windows RT .NET 兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-05-01 11:17:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1408608.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:兼容性   Windows   RT   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!