MSB6006: “CL.exe” exited with code -1073741819

  • Thread starter Thread starter Tommex
  • Start date Start date
T

Tommex

Guest
Recently I was working on my first general project in Visual Studio. I realize that my windows defender antimalware was turned on by automatically, while I was working on my project, windows defender gave me a notification about something that was about my visual studio. after that error, I basically go and turned windows defender off because I don't use it... and from here I started to get this error message when building any project

example of a project:

#include <iostream>
using namespace std;

int main() {
cout << "Hello world" << endl;
return 0;
}

Build message:


------ Build started: Project: Hello World, Configuration: Debug x64 ------
main.cpp
F:\Program Files (x86)\Visual Studio Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(423,5): error MSB6006: "CL.exe" exited with code -1073741819.
Done building project "Hello World.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Continue reading...
 
Back
Top