Find the right remedy and find the root cause that Visual Studio prompts every compilation is not the latest, Visual Studio
In the process of using Visual Studio, sometimes you need to re-compile the program every time you start the program. The problem cannot be solved by re-generating the solution or clearing the solution. I searched the internet and found that there are many possible causes of the problem, and there is no good conclusion. Later, I found a way to find the root cause on StackOverflow (however, this answer is not ranked first ):
Http://stackoverflow.com/questions/1480008/why-does-vs-have-to-rebuild-all-of-my-projects-every-time-i-hit-play
In Visual Studio, choose tools> Options> projects and solutions> Generate and run:
Select "diagnosis". In this way, you can find the file at the beginning of the output list to make the compiler judge whether the compilation result is up-to-date.