Can I use MSBUILD to investigate which dependency causes a source unit to be recompiled?
Posted
by Seb Rose
on Stack Overflow
See other posts from Stack Overflow
or by Seb Rose
Published on 2010-04-21T09:05:25Z
Indexed on
2010/04/21
13:43 UTC
Read the original article
Hit count: 319
I have a legacy C++ application with a deep graph of #includes. Changes to any header file often cause recompiles of seemingly unrelated source files.
The application is built using a Visual Studio 2005 solution (sln) file.
Can MSBUILD be invoked in a way that it reports which dependency(ies) are causing a source file to be recompiled?
Is there any other tool that might be able to help?
© Stack Overflow or respective owner