33 references to NotExist
dotnet.Tests (6)
CommandTests\Run\RunFileTests.cs (2)
1726new DirectoryInfo(artifactsDir).Sub("package").Should().NotExist(); 1770new DirectoryInfo(artifactsDir).Sub("package").Should().NotExist();
CommandTests\Workload\Clean\GivenDotnetWorkloadClean.cs (2)
172new DirectoryInfo(Path.GetDirectoryName(Path.GetDirectoryName(extraPackRecordPath))).Should().NotExist(); 173new DirectoryInfo(extraPackPath).Should().NotExist();
CommandTests\Workload\Install\WorkloadGarbageCollectionTests.cs (1)
288new DirectoryInfo(pack.Path).Should().NotExist();
GivenThatTheUserIsRunningDotNetForTheFirstTime.cs (1)
175homeFolder.Should().NotExist();
Microsoft.NET.Build.Tests (7)
ArtifactsOutputPathTests.cs (6)
275new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "bin", testProject.Name, "debug_net8.0")).Should().NotExist(); 276new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "bin", testProject.Name, "debug_net7.0")).Should().NotExist(); 282new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "obj", testProject.Name, "debug_net8.0")).Should().NotExist(); 283new DirectoryInfo(Path.Combine(testAsset.Path, "artifacts", "obj", testProject.Name, "debug_net7.0")).Should().NotExist(); 461.NotExist(); 481.NotExist();
GivenThatWeWantToPreserveCompilationContextForBuild.cs (1)
58outputDirectory.Sub("refs").Should().NotExist();
Microsoft.NET.Publish.Tests (4)
GivenThatWeWantToPreserveCompilationContext.cs (1)
79refsDirectory.Should().NotExist();
GivenThatWeWantToPublishAnUnpublishableProject.cs (1)
26publishDirectory.Should().NotExist();
GivenThatWeWantToStoreAProjectWithDependencies.cs (1)
251symbolsFolder.Should().NotExist();
PublishItemsOutputGroupTests.cs (1)
113.NotExist();
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (1)
WasmBuildIntegrationTest.cs (1)
714.Should().NotExist();
Microsoft.NET.Sdk.Razor.Tests (15)
BuildIntegrationTest.cs (1)
128new DirectoryInfo(Path.Combine(outputPath, "publish", "refs")).Should().NotExist();
MvcBuildIntegrationTest21NetFx.cs (3)
54new DirectoryInfo(Path.Combine(outputPath, "Views")).Should().NotExist(); 77new DirectoryInfo(Path.Combine(outputPath, "refs")).Should().NotExist(); 78new DirectoryInfo(Path.Combine(outputPath, "Views")).Should().NotExist();
MvcBuildIntegrationTestLegacy.cs (5)
59new DirectoryInfo(Path.Combine(outputPath, "Views")).Should().NotExist(); 62new DirectoryInfo(Path.Combine(outputPath, "refs")).Should().NotExist(); 83new DirectoryInfo(Path.Combine(outputPath, "refs")).Should().NotExist(); 84new DirectoryInfo(Path.Combine(outputPath, "Views")).Should().NotExist(); 128new DirectoryInfo(Path.Combine(outputPath, "publish", "refs")).Should().NotExist();
PublishIntegrationTest.cs (6)
40new DirectoryInfo(Path.Combine(publishOutputPath, "refs")).Should().NotExist(); 41new DirectoryInfo(Path.Combine(publishOutputPath, "Views")).Should().NotExist(); 61new DirectoryInfo(Path.Combine(publishOutputPath, "refs")).Should().NotExist(); 62new DirectoryInfo(Path.Combine(publishOutputPath, "Views")).Should().NotExist(); 147new DirectoryInfo(Path.Combine(publishOutputPath, "refs")).Should().NotExist(); 148new DirectoryInfo(Path.Combine(publishOutputPath, "Views")).Should().NotExist();