Table of Contents

Class ProjectDiscovery

Namespace
S1Interop.Core.Analysis
Assembly
S1Interop.Core.dll

Discovers C# project files from a workspace, project directory, or project file path.

public static class ProjectDiscovery
Inheritance
object
ProjectDiscovery

Methods

DiscoverProjects(string)

Returns project files that should be analyzed for the supplied path.

public static IReadOnlyList<string> DiscoverProjects(string path)

Parameters

path string

A workspace directory, project directory, or .csproj file.

Returns

IReadOnlyList<string>

A single nearest project when one is found, all projects under a workspace otherwise, or an empty list when no project exists.