43 references to Exist
dotnet.Tests (19)
CommandTests\MSBuild\GivenMsbuildForwardingApp.cs (2)
52.Exist(); 64.Exist();
CommandTests\Pack\PackTests.cs (5)
31outputDir.Should().Exist() 51outputDir.Should().Exist() 214outputDir.Should().Exist() 309outputDir.Should().Exist() 411outputDir.Should().Exist()
CommandTests\Run\RunFileTests.cs (8)
1505.Should().Exist() 1537.Should().Exist() 1571.Should().Exist() 1595.Should().Exist() 1620.Should().Exist() 1640.Should().Exist() 1663.Should().Exist() 1688.Should().Exist()
CommandTests\Solution\Add\GivenDotnetSlnAdd.cs (2)
681new DirectoryInfo(appPathCalculator.GetOutputDirectory(configuration: "Release")).Should().Exist() 686new DirectoryInfo(libPathCalculator.GetOutputDirectory(configuration: "Release")).Should().Exist()
CommandTests\Solution\Remove\GivenDotnetSlnRemove.cs (1)
522outputDirectory.Should().Exist();
CommandTests\Workload\Install\WorkloadGarbageCollectionTests.cs (1)
284new DirectoryInfo(pack.Path).Should().Exist();
Microsoft.NET.Build.Tests (20)
ArtifactsOutputPathTests.cs (17)
159.Exist(); 182.Exist(); 208.Exist(); 226.Exist(); 271new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "bin", testProject.Name, "NET8_Debug")).Should().Exist(); 272new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "bin", testProject.Name, "NET7_Debug")).Should().Exist(); 273new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "bin", testProject.Name, "debug_netstandard2.0")).Should().Exist(); 278new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "obj", testProject.Name, "NET8_Debug")).Should().Exist(); 279new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "obj", testProject.Name, "NET7_Debug")).Should().Exist(); 280new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "obj", testProject.Name, "debug_netstandard2.0")).Should().Exist(); 295new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "publish", testProject.Name, "NET8_Release")).Should().Exist(); 296new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "publish", testProject.Name, "NET7_Debug")).Should().Exist(); 297new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "publish", testProject.Name, "debug_netstandard2.0")).Should().Exist(); 305new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "package", "release")).Should().Exist(); 575outputDir.Should().Exist().And.HaveFile(hostfxrName); 579publishDir.Should().Exist().And.HaveFile(hostfxrName); 590outputDir.Should().Exist();
GivenThatWeWantToBuildAnAppWithLibrary.cs (1)
119cultureDir.Should().Exist();
GivenThatWeWantToBuildANetCoreApp.cs (2)
637buildCommand.GetOutputDirectory().Should().Exist(); 639buildCommand.GetIntermediateDirectory().Should().Exist();
Microsoft.NET.Publish.Tests (1)
GivenThatWeWantToStoreAProjectWithDependencies.cs (1)
256newtonsoftSymbolsFolder.Should().Exist();
Microsoft.NET.Restore.Tests (1)
GivenThatWeWantToUseFrameworkRoslyn.cs (1)
169new DirectoryInfo(toolsetPackageDir).Should().Exist();
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (1)
WasmBuildIncrementalismTest.cs (1)
78new DirectoryInfo(gzipCompressionDirectory).Should().Exist();
Microsoft.NET.Sdk.Razor.Tests (1)
MvcBuildIntegrationTest21NetFx.cs (1)
57new DirectoryInfo(Path.Combine(outputPath, "refs")).Should().Exist();