I work on a c++ console project. this project has in msmpisdk platform. When I compiled in Visual Studio 2019 the error below occurred:
"Severity Code Description Project File Line Suppression State...Error MSB6006 "CL.exe" exited with code 2....C:\Program Files (x86)\Microsoft VisualStudio\2019\Enterprise\MSBuild\Microsoft\VC\v160-\Microsoft.CppCommon.targets 429."
I checked my code, it seems OK, also check ref lib of project, it seems OK.
I searched the web.
- All functions return a value.
- All variables set a value before using it.
- I restarted Visual Studio and my computer.
- I created new project and added the code, but the same error occurred.
but the same error occurred and my code doesn't compile.