Error in Microsoft.CppCommon.target

Annirudh Sharma 21 Reputation points
2022-02-08T05:59:36.55+00:00

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 1. [D:\linphone1\build\WORK\desktop\EP_decaf. vcxproj] [D:\linphone1\build\WORK\sdk.vcxproj] [D:\linphone1\build\sdk.vcxproj]

I am building Linphone using VS community 2017. This error pops every time I try to build files

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,728 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
    2022-02-09T08:35:12.577+00:00

    Hi @Annirudh Sharma ,

    Welcome to Microsoft Q&A!

    Please open your project properties and go to Build Events to check the command line, and check if the path is correct or not.
    If you don’t find the command line, you can try to clean and rebuild solution.

    If it persists, please share us the output logs to investigate further: click on View > Output > select the Show output from: Build.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Annirudh Sharma 21 Reputation points
    2022-02-12T10:44:01.293+00:00

    Thanks for helping @Anna Xiu-MSFT . But the error still persists. There is no command-line created, I even tried rebuilding the solution but the problem is still the same.

    Severity Code Description Project File Line Suppression State
    Error MSB6006 "cmd.exe" exited with code 1. linphone-qt C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 209
    Error MSB6006 "cmd.exe" exited with code 1. [D:\linphone1\build\WORK\desktop\EP_decaf.vcxproj] [D:\linphone1\build\WORK\sdk.vcxproj] sdk C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 209

    Below are the complete output logs :

    173736-log.txt

    0 comments No comments