error MSB4057: The target "Build" does not exist in the project.

asked 2023-01-04T18:41:02.867+00:00
四岁 戴 1 Reputation point

I want to build a project, but I will receive the prompt :The target "Build" does not exist in the project.If I use "Rebuild", the "Build" in the prompt will be replaced by "Rebuild". The same is true of "clean"。

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,609 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2023-01-04T19:18:25.38+00:00
    Michael Taylor 37,326 Reputation points

    Please show us your project setup, screenshots, etc. What you've given us is not sufficient to diagnose anything. As far as we know you just opened a .cpp file and tried to compile it which won't work. If you're running a command line manually then provide us that command line. The more information you provide us the far quicker we can help.