We've been hearing a few reports of the following errors being output to the Error List after upgrading to Visual Studio 2005 Service Pack 1 (SP1):
CA0055 : Could not load [AssemblyName].CA0052 : No targets were selected.
If you look at the [AssemblyName].CodeAnalysisLog.xml file within your output folder, it may have contents similar to the following:
<?
After spending some time investigating this, it appears that this is caused by an incomplete install of the service pack, causing SP1 binaries to be intermixed with RTM binaries.
Due to the way that the update was designed, depending on the number of Visual Studio products you have installed, it could attempt to install multiple times. For example, if you have both Team Foundation Client (TFC) and Visual Studio Team Suite installed, then the installer will run twice; once for TFC and once for Team Suite. If you cancel the second installation or it fails, then this will put your Visual Studio install in an incomplete state, thereby causing the above error to occur.
To fix this, simply re-run the install.