【发布时间】:2014-04-21 12:08:55
【问题描述】:
我得到了 Windows 8 机器,并愿意检查新的 Windows 运行时 API,下载了 VS 2013 Express for Windows。 WinRT 提供了在 HTML5/CSS/JS 中编码的可能性,但我有兴趣在不为 DOM 编码时使用 TypeScript 作为 JavaScript 的替代品。 here 概述了这种可能性,但仅适用于 Visual Studio 2012,甚至不适用于 Express 版本,因为 Web Essentials 扩展无法在那里工作。
TypeScript 网页 claims 完全支持内置于 VS 2013 Update 2 RC。然而,虽然此更新确实安装了一些新的扩展并且 TypeScript 也安装在 Program Files 中,但它并未将 TypeScript 支持添加到 VS 2013 Express for Windows。我仍然无法创建 .ts 文件,更不用说从 IDE 编译它了。
请注意,这是与 this one 不同的问题,后者涉及 VS 2013 for Web。我已经在那里检查了接受的答案,但它不起作用。我有兴趣让 TypeScript 与适用于 Windows 8 的 VS 2012 Express 或适用于 Windows 的 VS 2013 Express 一起使用。我也会接受一个指向我用于 WinRT/Store 应用程序开发的替代 IDE 的答案,但网络研究告诉我这不太可能发生。
【问题讨论】:
标签: windows-runtime windows-store-apps typescript visual-studio-express visual-studio-extensions