Answer the question
In order to leave comments, you need to log in
Visual Studio C++, error: "This project is out of date"?
Hello. I can't figure out what the problem is. I started working in Visual Studio not so long ago. Until a certain point in time, everything worked fine, but recently the following happened.
I do everything as usual.
I create a project: "File" → "Create" → "Project". In the "Installed Templates" select "General" → "Empty Project". Then I write the name of the project; I click "OK".
I create a file: "Project". In the "Installed Templates" select "Add New Item".
Then: "Code" → "C++ file (.cpp)
I click" OK ".
I'm writing code.
Then. I'm trying to build a solution.
He writes to me: “The following project is outdated. Build it?" I agree (although what do you mean outdated?). Then the following message pops up: “Errors occurred during the build. Do you want to continue and run the last successfully built variant?". I agree again. Further to me: “The program cannot be started (the path to this program is indicated further). The specified file cannot be found." And that's where it all ends.
Tell me where is my mistake?
The code is correct. I can't even compile "Hello World!"
I wrote everything in such detail, because I don't know what to catch on, what might be needed and what might not.
PS I googled for a long time, the case is not a single one, but I did not find a solution.
Answer the question
In order to leave comments, you need to log in
Instructions with pictures. The project is out of date - meaning that the code has changed since the last compilation. Next, you start compilation, because of errors in your code, it is interrupted. You are offered to run what was compiled last time (and in your case the compilation is the first => there is nothing to run).
Errors that caused compilation to stop are shown in the output window. If it is not clear from the output what the error is, googling by its number often helps to understand what's what.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question