我该如何解决"Web编译器在Compilerconfig.json中发现错误"? [英] How do I solve 'Web Compiler found an error in compilerconfig.json'?

查看:374
本文介绍了我该如何解决"Web编译器在Compilerconfig.json中发现错误"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试使用Visual Studio 2017重新编译解决方案中的所有文件时,我得到以下无提示错误消息:

On trying to re-compile all files in a solution, using Visual Studio 2017, I get this uninformative error message:

Web编译器在Compilerconfig.json中发现错误

Web Compiler found an error in compilerconfig.json

首先,解决方案中有一个以上的configureconfig.json文件.

To begin with, there is more than one compilerconfig.json file in the solution.

其次,没有任何迹象表明错误是什么,在哪里发生(例如,行号).

Secondly, there is no indication whatsoever of what the error is, where it occurs (line number, for instance).

有什么想法可以解决这个问题吗?

Any ideas how I can go about solving this?

推荐答案

在Visual Studio的解决方案资源管理器中,右键单击compileconfig.json文件,然后单击任务运行器资源管理器".在左窗格中,您将看到"compilerconfig.json/所有文件",右键单击它,然后单击运行".在我的案例中,您将看到执行的详细信息,其中包括有关如何更正错误的有用信息.

In Visual Studio's Solution Explorer, right-click the compilerconfig.json file and click "Task Runner Explorer". In the left pane you will see "compilerconfig.json/all files", right-click on it and then click on "Run". You will see the details of the execution which, in my case, included the useful information about how to correct the error.

这篇关于我该如何解决"Web编译器在Compilerconfig.json中发现错误"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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