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