Multi-project analysis - Introduction

Enterprise Edition only

Multi-project analysis analyzes .vbg and .sln files, several projects together, and the use of COM libraries in VB code.

The most fundamental entity in project analysis is the project. Visual Basic projects are described in .vbp, .vbproj, .vbdproj and .mak files, depending on the VB version. All editions of Project Analyzer support single-project analysis where you analyze one project at a time.

Larger systems may consist of several projects, for example, a standard executable project, a .dll library project, and several .ocx component projects. When you need to find out the dependencies between several projects, you need multi-project analysis.

What can you do with multi-project analysis?

Project Analyzer Enterprise Edition supports analysis of several projects at a time, and analysis of COM library files. Enterprise Edition is required if you want to

Supported multi-project analyses

Multi-project analysis is typically used when a project calls other projects in the same project group or solution. It's also used when a project uses a library file or a binary control. The following table lists what kind of systems you can analyze with multi-project analysis.

Calls analyzed to
Main project written in -> VB Classic projects (.vbp) -> VB.NET projects (.vbproj, .vbdproj) -> COM libraries
(.ocx, .dll, .exe, .tlb, .olb)
Project group file type
VB Classic Yes To .tlb file only Yes .vbg
VB.NET Limited Yes Limited .sln

In addition, multi-project analysis is handy is if there are several projects that don't call each other, but that share some source code files. For example, two .exe projects that have common .bas or .cls files can be analyzed together to show up dead code that's not used by either of the projects. This arrangement often makes Super Project Analyzer redundant in the Enterprise Edition.

Unsupported analyses and limitations

Limitations in mixed version analysis and COM Interop

Multi-project analysis can analyze systems consisting of projects written with several VB versions. COM Interop in .NET is supported only partially. If you mix VB Classic and .NET projects, or .NET projects and COM files, there are some limitations.

©Aivosto Oy - Project Analyzer Help Contents