24 references to GetOutputDirectory
dotnet.Tests (12)
CommandTests\Build\GivenDotnetBuildBuildsCsproj.cs (2)
33var outputDll = Path.Combine(outputPathCalculator.GetOutputDirectory(configuration: configuration), $"{testAppName}.dll"); 140OutputPathCalculator.FromProject(rootPath).GetOutputDirectory(configuration: configuration), "*.dll",
CommandTests\Clean\GivenDotnetCleanCleansBuildArtifacts.cs (1)
24var outputFolder = new DirectoryInfo(OutputPathCalculator.FromProject(testInstance.Path).GetOutputDirectory(configuration: configuration, runtimeIdentifier: $"{ToolsetInfo.LatestWinRuntimeIdentifier}-x64"));
CommandTests\Solution\Add\GivenDotnetSlnAdd.cs (4)
680new DirectoryInfo(appPathCalculator.GetOutputDirectory(configuration: "Debug")).Should().NotExist(reasonString); 681new DirectoryInfo(appPathCalculator.GetOutputDirectory(configuration: "Release")).Should().Exist() 685new DirectoryInfo(libPathCalculator.GetOutputDirectory(configuration: "Debug")).Should().NotExist(reasonString); 686new DirectoryInfo(libPathCalculator.GetOutputDirectory(configuration: "Release")).Should().Exist()
CommandTests\Solution\Remove\GivenDotnetSlnRemove.cs (2)
519new DirectoryInfo(outputCalculator.GetOutputDirectory(configuration: "Debug")).Should().NotExist(reasonString); 521var outputDirectory = new DirectoryInfo(outputCalculator.GetOutputDirectory(configuration: "Release"));
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.cs (1)
55var outputDll = Path.Combine(OutputPathCalculator.FromProject(testProjectDirectory).GetOutputDirectory(configuration: configuration), "VSTestTestRunParameters.dll");
CommandTests\VSTest\VSTestTests.cs (1)
63var outputDll = Path.Combine(OutputPathCalculator.FromProject(testProjectDirectory).GetOutputDirectory(configuration: configuration), "VSTestTestRunParameters.dll");
ShellShimTests\ShellShimRepositoryTests.cs (1)
510var outputDirectory = new DirectoryInfo(OutputPathCalculator.FromProject(testInstance.Path, testInstance).GetOutputDirectory(configuration: configuration));
Microsoft.NET.Build.Tests (7)
ArtifactsOutputPathTests.cs (7)
93new FileInfo(Path.Combine(outputPathCalculator.GetOutputDirectory(), testProject.Name + ".dll")) 115new FileInfo(Path.Combine(outputPathCalculator.GetOutputDirectory(configuration: "release"), testProject.Name + ".dll")) 140new FileInfo(Path.Combine(outputPathCalculator.GetOutputDirectory(configuration: "release"), testProject.Name + ".dll")) 184new FileInfo(Path.Combine(outputPathCalculator.GetOutputDirectory(), testProject.Name + ".dll")) 206new DirectoryInfo(OutputPathCalculator.FromProject(testAsset.Path, testProject).GetOutputDirectory()) 224new DirectoryInfo(OutputPathCalculator.FromProject(testAsset.Path, testProject).GetOutputDirectory()) 574var outputDir = new DirectoryInfo(OutputPathCalculator.FromProject(testAsset.Path, testProject).GetOutputDirectory(configuration: "release"));
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (1)
WasmPwaManifestTests.cs (1)
75var buildOutputDirectory = OutputPathCalculator.FromProject(Path.Combine(testInstance.TestRoot, "blazorwasm")).GetOutputDirectory();
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssetEndpointsIntegrationTest.cs (1)
452var buildOutputDirectory = OutputPathCalculator.FromProject(Path.Combine(testInstance.TestRoot, "blazorhosted")).GetOutputDirectory();
Microsoft.NET.TestFramework (3)
Commands\DotnetBuildCommand.cs (1)
37.GetOutputDirectory(targetFramework, configuration, runtimeIdentifier, platform));
Commands\MSBuildCommand.cs (1)
77return new DirectoryInfo(OutputPathCalculator.FromProject(ProjectFile, TestAsset).GetOutputDirectory(targetFramework, configuration, runtimeIdentifier, platform));
ProjectConstruction\TestProject.cs (1)
526.GetOutputDirectory(targetFramework, configuration, runtimeIdentifier);