Windows RT .NET 兼容性 [英] Windows RT .NET compatibility

查看:45
本文介绍了Windows RT .NET 兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只需要知道我是否需要相同的框架来开发适用于平板电脑 (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屋!

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