Visual Studio: Stop Building That Project!

I regularly work on a Visual Studio solution at work with 40+ individual projects in it. Irritatingly, many of them have begun to suffer from the “always rebuilt” problems that recent versions of Visual Studio (2002-2005) have shown. I decided to try and fix these things today and so here are a list of things to try that have helped me:

My project always builds, starting with MIDL

A few potential causes here:

My project always links

I have had a number of projects that link every time even though nothing had changed, a combination of the following tips seems to solve the problems:

Knowledge Base/Google Groups Articles

The following knowledge base articles, blog and Google Groups posts were vaguely useful in sorting these problems out: