23 references to MSBuildApp
Microsoft.DotNet.Cli.Utils (2)
MSBuildForwardingAppWithoutLogging.cs (2)
202
/// Directly executes MSBuild's <see cref="Build.CommandLine.
MSBuildApp
.Main"/> method in the current process.
222
return Build.CommandLine.
MSBuildApp
.Main(arguments);
MSBuild (21)
CommandLine\CommandLineParser.cs (4)
120
string exePath = Path.GetDirectoryName(typeof(
MSBuildApp
).GetAssemblyPath()); // Copied from XMake
535
string exePath = Path.GetDirectoryName(typeof(
MSBuildApp
).GetAssemblyPath()); // Copied from XMake
556
projectFile =
MSBuildApp
.ResolveProjectPathAgainstLogicalCurrentDirectory(projectFile);
570
return
MSBuildApp
.ResolveProjectPathAgainstLogicalCurrentDirectory(projectDirectory);
MSBuildClientApp.cs (15)
36
/// <returns>A value of type <see cref="
MSBuildApp
.ExitType"/> that indicates whether the build succeeded,
41
public static
MSBuildApp
.ExitType Execute(string[] commandLineArgs, bool multiThreaded, bool shutdownServerAfterBuild, CancellationToken cancellationToken)
65
/// <returns>A value of type <see cref="
MSBuildApp
.ExitType"/> that indicates whether the build succeeded,
67
public static
MSBuildApp
.ExitType Execute(string[] commandLineArgs, string msbuildLocation, bool multiThreaded, bool shutdownServerAfterBuild, CancellationToken cancellationToken)
85
MSBuildApp
.ServerNotUsedReason reason = GetServerFallbackReason(exitResult);
86
MSBuildApp
.s_serverNotUsed = reason;
99
return
MSBuildApp
.Execute(commandLineArgs);
103
Enum.TryParse(exitResult.MSBuildAppExitTypeString, out
MSBuildApp
.ExitType MSBuildAppExitType))
110
return
MSBuildApp
.ExitType.MSBuildClientFailure;
120
private static
MSBuildApp
.ServerNotUsedReason GetServerFallbackReason(MSBuildClientExitResult exitResult)
126
MSBuildApp
.ServerNotUsedReasonCodeServerBusy),
129
MSBuildApp
.ServerNotUsedReasonCodeServerCrashed),
132
MSBuildApp
.ServerNotUsedReasonCodeServerStateUnknown),
137
MSBuildApp
.ServerNotUsedReasonCodeServerCrashed),
143
MSBuildApp
.ServerNotUsedReasonCodeServerUnreachable),
XMake.cs (2)
164
s_exePath = Path.GetDirectoryName(typeof(
MSBuildApp
).GetAssemblyPath());
2927
return terminalLoggerParameters?.Length > 0 ?
MSBuildApp
.AggregateParameters(string.Empty, terminalLoggerParameters) : string.Empty;