Skip to content

Review the way projects can be included/excluded from a solution #64

@hideintheclouds

Description

@hideintheclouds

When using the AnalyzerManager with a solution file path, the method has the ability to apply a ProjectFilter by using AnalyzerManagerOptions.
Using the optional parameter will allow for example for an exclusion of certain projects before they are added to the Workspace.

Example:

var managerOptions = new AnalyzerManagerOptions
        {
            ProjectFilter = x => !x.AbsolutePath.Contains("Tests")
        };
var solutionManager = new AnalyzerManager(solutionFilePath, managerOptions);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions