19 references to DotnetHostPathEnvVarName
Microsoft.Build (3)
BackEnd\BuildManager\EnvironmentVariableValidator.cs (1)
35string? dotnetHostPath = Environment.GetEnvironmentVariable(Constants.DotnetHostPathEnvVarName);
Evaluation\Evaluator.cs (1)
1907_data.AddSdkResolvedEnvironmentVariable(Constants.DotnetHostPathEnvVarName, dotnetExe);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
653string dotnetHostPath = getProperty(Constants.DotnetHostPathEnvVarName)?.EvaluatedValue;
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.Engine.OM.UnitTests (1)
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildManager_Tests.cs (3)
3494_env.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, Path.GetTempPath()); 3509_env.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, tempFile.Path); 3523_env.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, null);
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.Framework (2)
DotnetHostEnvironmentHelper.cs (2)
74string? resolvedPath = dotnetHostPath ?? Environment.GetEnvironmentVariable(Constants.DotnetHostPathEnvVarName); 139dotnetHostPath ??= Environment.GetEnvironmentVariable(Constants.DotnetHostPathEnvVarName);
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
55_dotnetCliPath = Environment.GetEnvironmentVariable(Constants.DotnetHostPathEnvVarName);
Microsoft.Build.Tasks.UnitTests (2)
RoslynCodeTaskFactory_Tests.cs (1)
902var dotnetPath = Environment.GetEnvironmentVariable(Constants.DotnetHostPathEnvVarName);
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);
Microsoft.Build.UnitTests.Shared (2)
RunnerUtilities.cs (2)
43testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, s_dotnetExePath); 91[Constants.DotnetHostPathEnvVarName] = s_dotnetExePath,
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
69_testEnvironment.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, bootstrapCorePath);