c# - 工具版本不支持 VsTsc 任务

标签 c# asp.net visual-studio visual-studio-2013 typescript

我尝试构建我的项目,但突然我在 visual studio 2013 上遇到错误,这就是我遇到的问题。自昨晚以来我没有做任何更改,但是当我今天跳上去时,似乎弹出了这个 https://gyazo.com/d170bdfc18f9896003978ced330a1c71

这是我在 VS 中得到的错误日志

Error 2 The "VsTsc" task could not be initialized with its input parameters. Arecibo

Error 1 The "ToolsVersion" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property.

这也是我的项目文件,这是有道理的。起初它提示没有正确的 typescript 版本。

这是我的 cs proj 文件 http://pastebin.com/kA1yiwPQ , stackoverflow 不允许我超过一定数量的字符所以我不得不求助于 pastebin

最佳答案

尝试修复 TypeScript 工具包 - 转到 控制面板 > 程序和功能,然后选择“TypeScript Tools for Microsoft Visual Studio 2015 xxxx”,选择 更改,然后在安装程序中单击修复

我刚刚在 Visual Studio 2015 中遇到了这个问题,在重新创建一个全新的 ASP.NET Core 项目并进行修复后修复了它。

关于c# - 工具版本不支持 VsTsc 任务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38220497/

相关文章:

C# FFMPEG : Code bugs out and stops producing media files

c# - 如何使用 C# 检查一个类是否实现了泛型并与泛型接口(interface)?

javascript - 使用标签切换 <section> 背景

c# - 在 Visual Studio 的 LocalDB 中创建用户并为用户分配权限

visual-studio - Visual Studio 2019 - 搜索无处不在

c# - 并发运行两次时如何取消循环作业?

c# - 什么时候(不)两个具有相同内容的字符串共享相同的内存?

asp.net - 对 ASP.NET 网站进行负载测试

c# - Linq 求和和 null

c# - 如何将重定向 URL 注册到 webhook