Make him tell me what's out of date in a Visual C ++ 2005 project

I have a VC ++ project with a source file with source code in Visual Studio 2005. Many of these files have custom build steps. There is something that is not updated when created. Each time I click the debug start button, he offers me a dialog "This project is out of date:" and asks if I want to build it. I choose yes, but nothing compiles. I suppose I could pull out the source files one by one, I find the problem. There should be an easier way.

Each equivalent that I used had command line options that would display deprecated targets and the steps used to create it. I would use this to solve the problem, building normally, and then building with a detailed option. The problem file will be the only one built!

I would expect that in Visual Studio there is an equivalent setting that I have not found yet. (Tools-> options-> Projects and Solutions-> Build and Run-> MsBuild output verbosity) does not provide enough information to identify the problem. How do I get VS2005 to tell me exactly what he is trying to build?

+4
source share
3 answers

Have you tried creating it from the command line using VCBuild? http://msdn.microsoft.com/en-US/library/cz553aa1(v=VS.80).aspx

+2
source

I have done this in the past using the technique described here:

http://blogs.msdn.com/b/vsproject/archive/2009/07/21/enable-c-project-system-logging.aspx

Hope this helps!

+2
source

You do not need to compare the source file dates with the corresponding OBJ files for so long.

It seems to me that you have a file that is not properly configured for assembly. Do you have files other than C ++ files? Assembler, help files, etc.

+1
source

Source: https://habr.com/ru/post/1300890/


All Articles