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.
error MSB4057: The target "Build" does not exist in the project.

四岁 戴
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"。
{count} votes
I I can't find where to submit the screenshot
I am using TwinCAT to write code, and the solution includes two projects.MainThread project will encounter errors in the description during the Build process, while the TCPServer project will not. As shown in the figure below.