public WorkspaceBuilderHelper(ILogger logger, string workspacePath, AnalyzerConfiguration analyzerConfiguration = null) { this.Logger = logger; this.WorkspacePath = workspacePath; this.Projects = new List <ProjectAnalysisResult>(); this.FailedProjects = new List <ProjectAnalysisResult>(); this.DictAnalysisResult = new Dictionary <Guid, IAnalyzerResult>(); _analyzerConfiguration = analyzerConfiguration; _workspaceIncremental = new AdhocWorkspace(); _sb = new StringBuilder(); _writer = new StringWriter(_sb); _analyzerManager = GetAnalyzerManager(); _msBuildDetector = new MSBuildDetector(); }