简体   繁体   English

Visual Studio 2015社区C ++构建失败:任务已取消

[英]Visual Studio 2015 Community C++ Build Failure: A task was cancelled

I'm trying to build a brand new c++ console project in Visual Studio 2015 Community and getting the following output: 我正在尝试在Visual Studio 2015社区中构建一个全新的c ++控制台项目并获得以下输出:

1>------ Build started: Project: ConsoleApplication3, Configuration: Debug Win32 ------
1>A task was canceled.
1>A task was canceled.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

From this question it looks like the same problem. 从这个问题看起来像是同样的问题。 but the time has been recently synced: 但最近同步的时间是:

在此输入图像描述

And restarting Visual Studio doesn't change the build output. 并且重新启动Visual Studio不会更改构建输出。 I've tried uninstalling Visual Studio and then reinstalling it, but the outcome is the same. 我已经尝试卸载Visual Studio然后重新安装它,但结果是一样的。

删除Debug / Release文件夹并重新启动MSVC。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM