1 write to DotNetHostPath
Microsoft.NET.TestFramework (1)
ToolsetInfo.cs (1)
78DotNetHostPath = Path.Combine(dotNetRoot, $"dotnet{Constants.ExeSuffix}");
24 references to DotNetHostPath
ArgumentForwarding.Tests (1)
ArgumentForwardingTests.cs (1)
253FileName = TestContext.Current.ToolsetUnderTest.DotNetHostPath,
dotnet-new.IntegrationTests (6)
CommonTemplatesTests.cs (3)
72DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath, 217DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath, 416DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath,
DotnetClassTemplateTests.cs (2)
71DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath, 151DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath,
TemplateEngineSamplesTest.cs (1)
59DotnetExecutablePath = TestContext.Current.ToolsetUnderTest?.DotNetHostPath,
dotnet-watch.Tests (3)
Build\EvaluationTests.cs (1)
14=> TestContext.Current.ToolsetUnderTest.DotNetHostPath;
CommandLine\ProgramTests.cs (1)
26TestOptions.GetEnvironmentOptions(workingDirectory: testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset),
HotReload\RuntimeProcessLauncherTests.cs (1)
99var environmentOptions = TestOptions.GetEnvironmentOptions(workingDirectory ?? testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset);
EndToEnd.Tests (4)
ProjectBuildTests.cs (2)
405string dotnetFolder = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath); 471string dotnetRoot = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath);
ValidateInsertedManifests.cs (1)
15var sdkManifestDir = Path.Combine(Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath), "sdk-manifests");
VersionTests.cs (1)
16var dotnetFolder = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath);
Microsoft.NET.Build.Tests (2)
AppHostTests.cs (1)
74Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath))
GivenThatWeWantToGenerateADepsFileForATool.cs (1)
229FileName = TestContext.Current.ToolsetUnderTest.DotNetHostPath,
Microsoft.NET.Publish.Tests (5)
GivenThatWeWantToPublishAFrameworkDependentApp.cs (1)
88Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath))
GivenThatWeWantToPublishTrimmedWindowsFormsAndWPFApps.cs (2)
175runAppCommand.Environment["DOTNET_ROOT"] = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath); 247runAppCommand.Environment["DOTNET_ROOT"] = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath);
PublishWebApp.cs (1)
54runAppCommand.Environment["DOTNET_ROOT"] = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath);
PublishWpfApp.cs (1)
62runAppCommand.Environment["DOTNET_ROOT"] = Path.GetDirectoryName(TestContext.Current.ToolsetUnderTest.DotNetHostPath);
Microsoft.NET.TestFramework (3)
Commands\DotnetCommand.cs (1)
17FileName = TestContext.Current.ToolsetUnderTest.DotNetHostPath,
Commands\MSBuildVersionCommand.cs (1)
25FileName = TestContext.Current.ToolsetUnderTest.DotNetHostPath,
ToolsetInfo.cs (1)
241ret.FileName = DotNetHostPath;