TypeScript 2.8 在 Visual Studio 2019 中不可用 [英] TypeScript 2.8 unavailable in Visual Studio 2019

查看:44
本文介绍了TypeScript 2.8 在 Visual Studio 2019 中不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 Visual Studio 2019 中使用 TypeScript 2.8,因为我的团队正在使用该版本的 TS.但是,当我转到项目属性时 ->TypeScript Build 它说版本不可用.我尝试使用 Visual Studio 安装程序安装该特定 TS SDK 版本,但它似乎不在那里的列表中.我看到的唯一版本是 3.5.

I am trying to use TypeScript 2.8 in my Visual Studio 2019 as my team is using that version of TS. However, when I go to Project properties -> TypeScript Build it says that the version is unavailable. I tried installing that specific TS SDK version by using the Visual Studio Installer but it appears to be not in the list there. The only version I am seeing is 3.5.

如何设置 VS 2019 使其使用 TS 2.8?

How can I set up VS 2019 so it uses TS 2.8?

推荐答案

如果你没有安装 VS2017,你可以从这里安装 SDK:

If you don't have VS2017 installed you can just install the SDK from here:

https://www.microsoft.com/en-us/download/details.aspx?id=55258

它说的是 VS2017,但它是独立的,VS2019 可以识别它.

It says for VS2017 but it is standalone and VS2019 recognises it.

更新:很好的解决方案,但链接适用于 TypeScript 3.2,而原始问题适用于 2.8.将此链接用于 2.8:http://download.microsoft.com/download/7/0/A/70A6AC0E-8934-4396-A43E-445059F430EA/2.8.4-TS-release-dev14update3-20180515.1/TypeScript_SDK.exe 或打开详细信息部分查看所有版本.

Update: Good solution but the link is for TypeScript 3.2 and the original question is for 2.8. Use this link for 2.8: http://download.microsoft.com/download/7/0/A/70A6AC0E-8934-4396-A43E-445059F430EA/2.8.4-TS-release-dev14update3-20180515.1/TypeScript_SDK.exe Or open the Details section to see all versions.

这篇关于TypeScript 2.8 在 Visual Studio 2019 中不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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