【问题标题】:Is there a way to write WinRT apps in Windows7 & VS2010?有没有办法在 Windows7 和 VS2010 中编写 WinRT 应用程序?
【发布时间】:2011-12-13 12:47:37
【问题描述】:

有没有办法在 Windows7 和 VS2010 中编写 WinRT 应用程序?要下载一些 SDK 吗?

我对网络东西特别感兴趣 (Windows.Networking.Socktes)

或者我需要使用 Windows 8 开发者预览版吗?

【问题讨论】:

    标签: .net visual-studio-2010 windows-7 windows-runtime


    【解决方案1】:

    如果有办法在 Windows 7 上执行此操作,我还没有看到。

    您可以下载 VS 11(使用 Fx 4.5),但它没有任何 RT 内容。

    所以是的,Win 8 预览版似乎是目前唯一的途径。一定要获得最大的下载量。

    【讨论】:

    • AfaIct 没有可用的Windows.* 命名空间或程序集。
    • 在 WinRT 中,有。不同的命名空间树,大部分是相同的类。
    【解决方案2】:

    只能在 VS 2010 中进行一些预处理(C 预处理、flex/yacc、T4),然后在 Visual Studio 11 中使用生成的代码。直到 Visual Studio 11 变得更加稳定才有意义。

    【讨论】:

      【解决方案3】:

      Windows 8 release preview 在Windows 7下的VMWare下运行就好了。

      【讨论】:

        猜你喜欢
        • 2011-11-17
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-12-12
        • 2022-01-13
        • 1970-01-01
        • 1970-01-01
        • 2012-09-14
        相关资源
        最近更新 更多