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