DSoftStudio Mediator

← Back to Troubleshooting

Empty pipeline tree

Symptom

You opened a solution but the Pipeline Explorer shows No pipeline data found — empty Request Pipelines, Notifications, and Streams — even though your project contains mediator handlers.

Pipeline Explorer empty state: 'No pipeline data found' with Refresh, Build Solution and Open .sln buttons and a 'Things to check' checklist
The empty state — when discovery finds nothing, the panel offers Refresh / Build Solution / Open .sln plus a built-in checklist that mirrors the causes below.

This page walks through the five most common causes in order of likelihood.


1. No .sln file in the workspace

Pipeline Explorer discovers handlers per solution, not per folder. If you opened a bare folder or a single .csproj, the extension has nothing to scan.

Check

Fix

Open the folder that contains the .sln, or open the .sln directly. Click Refresh in the toolbar after the workspace reloads.


2. No project references DSoftStudio.Mediator

The discovery step only scans projects that reference the DSoftStudio.Mediator NuGet package.

Check

Run from the solution root:

dotnet list package | findstr Mediator

(Use grep Mediator on macOS / Linux.) The output should include DSoftStudio.Mediator.

Fix

dotnet add package DSoftStudio.Mediator

After the package is added, build the solution once, then click Refresh in the Pipeline Explorer toolbar.


3. The solution has never been built

Pipeline Explorer relies on assembly metadata produced by the source generator. A solution that has never been compiled has no metadata to read.

Check

Look for bin/ and obj/ folders inside each project. If they are missing, the project has not been built.

Fix

dotnet build

Once the build succeeds, click Refresh in the toolbar.


4. Diagnostics are disabled in the project

If DSoftMediatorDiagnosticsEnabled is set to false in your Directory.Build.props or a project file, the analyzer skips emission and Pipeline Explorer sees no metadata.

Check

Search the solution for DSoftMediatorDiagnosticsEnabled. If it exists and is false, that is the cause.

Fix

Set the property to true (or remove it — the default is true):

<PropertyGroup>
  <DSoftMediatorDiagnosticsEnabled>true</DSoftMediatorDiagnosticsEnabled>
</PropertyGroup>

Rebuild and refresh.

The VS Code extension exposes this toggle as the mediator.diagnosticsEnabled setting. Visual Studio exposes it under the gear icon in the tool window toolbar.


5. The server crashed or hasn’t started

Pipeline Explorer talks to a bundled background server that performs the actual discovery. If the server failed to start, the tree stays empty.

Check

Fix

Restart the server: run Mediator: Stop Server from the Command Palette (VS Code) or close and reopen the tool window (Visual Studio). The server respawns automatically on the next refresh.

If the restart does not help, see server startup failed.


← Back to Troubleshooting