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

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

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.
3,821 questions
{count} votes

1 answer

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

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.