8 references to Constants
Microsoft.Build.UnitTests.Shared (8)
EnvironmentProvider.cs (8)
50
(_getEnvironmentVariable(
Constants
.Path) ?? string.Empty)
63
var commandNameWithExtension = commandName +
Constants
.ExeSuffix;
74
string? environmentOverride = _getEnvironmentVariable(
Constants
.DotnetMsbuildSdkResolverCliDir);
83
.Equals(
Constants
.DotNet, StringComparison.InvariantCultureIgnoreCase))
85
string? dotnetExeFromPath = GetCommandPath(
Constants
.DotNet);
87
if (dotnetExeFromPath != null && !
Constants
.RunningOnWindows)
108
public static string? GetDotnetExePathFromFolder(string? netRootFolder) => Path.Combine(netRootFolder ?? string.Empty,
Constants
.DotNet +
Constants
.ExeSuffix);