Enterprise Edition only
Multi-project analysis analyzes .vbg and .sln files, several projects together, and the use of COM libraries in VB code.
A single file may belong to one or more projects in a multi-project analysis. If it's a binary file such as a COM or DLL file, this will not affect the analysis. If it's a source code file, it might have an effect on it.
If a file belongs to several projects, Project Analyzer analyzes it as a part of the first project it's mentioned in (primary project). If you're analyzing a .vbg project group, the first project is always the start-up project. Other projects come in the order they're defined in the .vbg or .sln file, or in the order you added the single projects to the analysis.
Each source code file is analyzed just once regardless of how many projects it belongs to. Normally this is not a problem. However, if the code in the file compiles differently depending on which project it's in, there's a problem. There are at least 2 scenarios that may cause this to happen:
If you notice unexplained dead code warnings or missing references under these conditions, you should make 2 analyses and combine them with Super Project Analyzer. Instead of a multi-project analysis, analyze two projects separately, and save the data in .sud files in the Pro menu. After the analyses, run Super Project Analyzer to combine the results and find dead code.
©Aivosto Oy - Project Analyzer Help Contents