<p>I work on a large Visual C++ (MFC) project in VS.NET 2005.</p>

<p>I have noticed strange behavior in Visual C++ 2005. Often, I will change one line of code in a .CPP file but many .CPP files will compile as a result of this. I have never seen this until VS.NET 2005. Theortically, changing a line of code in a .CPP file should simply require recompilation of that .CPP file and re-linking of the PE file.</p>

<p>What am I not understanding about the build process.</p>

This is a strange bug in the VS2005 dependency behavior. To find out one suggestion would be to take the following steps:
Go to
Tools
-> Options ->
Projects and Solutions -> Build and
Run -> MSBuild Project Build output
Verbosity
and select
Detailed
Compile your project.
This will give you a detailed output of the build which
"may"
help you arrive at a solution to your problem.