Windows RT and c#

后端 未结 3 987
说谎
说谎 2020-12-15 12:03

I need to develop Metro style application using C# and XAML which has to work on Windows RT devices and full Windows 8 OS. So I\'m allowed to use only WinRT without any .net

3条回答
  •  心在旅途
    2020-12-15 12:49

    It's not quite correct to say you can't use the .net framework in Metro style apps. More correctly, there is a version of the .net framework which is only available for metro apps. If your assemblies were not built with this version of the .net framework they will not work for metro. This version of the .net framework will work on .86 and arm. There is also a version of MVVM Light for metro apps. Download it here. See here for details on developing for arm.

    Regardless of whether you’re using JavaScript, C++, Visual Basic, or C#, if you’ve built a Metro style app that targets x86/x64 then you already know how to build one that targets ARM. You use the same Metro style project templates, which provide the starting point for building an app.

    Edit: As Jerry points out, you may have to compile your application against different versions of libraries if they are written in C++, but that's a matter of having separate builds rather than having to do additional development.

提交回复
热议问题