1 write to _buildManager
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
AbstractBuildHost.cs (1)
101
_buildManager
= new ProjectBuildManager(_knownCommandLineParserLanguages, _globalMSBuildProperties, logger, _maxNodeCount);
14 references to _buildManager
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (14)
AbstractBuildHost.cs (14)
29
/// The global properties to use for all builds; should not be changed once the <see cref="
_buildManager
"/> is initialized.
34
/// Should not be changed once the <see cref="
_buildManager
"/> is initialized.
39
/// The binary log path to use for all builds; should not be changed once the <see cref="
_buildManager
"/> is initialized.
44
/// The maximum number of MSBuild nodes that may build concurrently, or <see langword="null"/> to use MSBuild's default; should not be changed once the <see cref="
_buildManager
"/> is initialized.
81
[MemberNotNull(nameof(
_buildManager
))]
87
if (
_buildManager
!= null)
124
if (
_buildManager
!= null)
125
throw new InvalidOperationException($"{nameof(
_buildManager
)} has already been initialized and cannot be changed");
162
var (project, log) = await
_buildManager
.LoadProjectAsync(projectFilePath, cancellationToken).ConfigureAwait(false);
184
var (project, log) =
_buildManager
.LoadProject(projectFilePath, stream);
190
Contract.ThrowIfNull(
_buildManager
);
191
return _server.AddTarget(new ProjectFile(languageName, project,
_buildManager
, log));
199
return
_buildManager
.TryGetOutputFilePathAsync(projectFilePath, cancellationToken);
204
_buildManager
?.Dispose();