123 references to NotExist
dotnet.Tests (16)
CommandTests\Run\RunFileTests.cs (1)
1807dllFile.Should().NotExist();
CommandTests\Workload\Clean\GivenDotnetWorkloadClean.cs (1)
169new FileInfo(extraPackRecordPath).Should().NotExist();
CommandTests\Workload\Install\WorkloadGarbageCollectionTests.cs (14)
66PackRecord(pack, "6.0.100").Should().NotExist(); 67PackRecord(pack, "6.0.300").Should().NotExist(); 72PackRecord(pack, "6.0.100").Should().NotExist(); 159ManifestRecord("testmanifest", "1.0.0", "6.0.100", "6.0.300").Should().NotExist(); 160ManifestRecord("testmanifest", "2.0.0", "6.0.300", "6.0.300").Should().NotExist(); 163new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.100", "testmanifest", "1.0.0", "WorkloadManifest.json")).Should().NotExist(); 164new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.300", "testmanifest", "2.0.0", "WorkloadManifest.json")).Should().NotExist(); 171PackRecord(pack, "6.0.300").Should().NotExist(); 239ManifestRecord("testmanifest", "1.0.0", "6.0.100", "6.0.300").Should().NotExist(); 241ManifestRecord("testmanifest", "3.0.0", "6.0.300", "6.0.300").Should().NotExist(); 243new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.100", "testmanifest", "1.0.0", "WorkloadManifest.json")).Should().NotExist(); 245new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.300", "testmanifest", "3.0.0", "WorkloadManifest.json")).Should().NotExist(); 251PackRecord(pack, "6.0.300").Should().NotExist(); 277new FileInfo(pack.Path).Should().NotExist();
Microsoft.NET.Build.Tests (1)
GivenThatWeWantToUseContentFiles.cs (1)
116fileInfo.Should().NotExist();
Microsoft.NET.Publish.Tests (1)
GivenThatWeWantToPublishIncrementally.cs (1)
344new FileInfo(Path.Combine(publishDir, unexpectedFile)).Should().NotExist();
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (24)
VanillaWasmTests.cs (1)
33new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().NotExist();
WasmBuildIncrementalismTest.cs (1)
190new FileInfo(satelliteAssemblyFile).Should().NotExist();
WasmBuildIntegrationTest.cs (12)
300new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.timezones.blat")).Should().NotExist(); 334new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().NotExist(); 337new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 372new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().NotExist(); 375new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 416new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().NotExist(); 419new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 459new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().NotExist(); 462new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 504new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 546new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); 562new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "_bin", "blazorwasm.wasm")).Should().NotExist();
WasmJsModulesIntegrationTests.cs (5)
52new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorwasm-minimal.modules.json")).Should().NotExist(); 100new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorhosted.modules.json")).Should().NotExist(); 141new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorwasm-minimal.modules.json")).Should().NotExist(); 195new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorwasm-minimal.modules.json")).Should().NotExist(); 254new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorwasm-minimal.modules.json")).Should().NotExist();
WasmPublishIntegrationTest.cs (5)
1492new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "icudt.dat")).Should().NotExist(); 1493new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "icudt_CJK.dat")).Should().NotExist(); 1494new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "icudt_EFIGS.dat")).Should().NotExist(); 1495new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "icudt_no_CJK.dat")).Should().NotExist(); 1556new FileInfo(Path.Combine(secondAppPublishDirectory, "_framework", "Newtonsoft.Json.wasm.br")).Should().NotExist();
Microsoft.NET.Sdk.Razor.Tests (38)
BuildIncrementalismTest.cs (2)
42new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.Views.dll")).Should().NotExist(); 45new FileInfo(Path.Combine(intermediateOutputPath, "Razor", "Views", "Home", "Index.cshtml.g.cs")).Should().NotExist();
BuildIntegrationTest.cs (18)
37new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.dll")).Should().NotExist(); 38new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.pdb")).Should().NotExist(); 54new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.dll")).Should().NotExist(); 55new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.pdb")).Should().NotExist(); 83new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.dll")).Should().NotExist(); 99new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().NotExist(); 100new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.pdb")).Should().NotExist(); 103new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().NotExist(); 104new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.pdb")).Should().NotExist(); 182new FileInfo(razorAssemblyInfo).Should().NotExist(); 183new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.RazorTargetAssemblyInfo.cs")).Should().NotExist(); 208new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().NotExist(); 210new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().NotExist(); 212new FileInfo(Path.Combine(outputPath, "AnotherClassLib.Views.dll")).Should().NotExist(); 247new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().NotExist(); 249new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().NotExist(); 266new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.Views.dll")).Should().NotExist(); 267new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.Views.pdb")).Should().NotExist();
BuildWithComponentsIntegrationTest.cs (4)
33new FileInfo(Path.Combine(outputPath, "ComponentLibrary.Views.dll")).Should().NotExist(); 34new FileInfo(Path.Combine(outputPath, "ComponentLibrary.Views.pdb")).Should().NotExist(); 49new FileInfo(Path.Combine(outputPath, "MvcWithComponents.Views.dll")).Should().NotExist(); 50new FileInfo(Path.Combine(outputPath, "MvcWithComponents.Views.pdb")).Should().NotExist();
DesignTimeBuildIntegrationTest.cs (4)
30new FileInfo(Path.Combine(outputPath, "SimpleMvc.dll")).Should().NotExist(); 31new FileInfo(Path.Combine(outputPath, "SimpleMvc.pdb")).Should().NotExist(); 32new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.dll")).Should().NotExist(); 33new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.pdb")).Should().NotExist();
MvcBuildIntegrationTest50.cs (8)
41new FileInfo(Path.Combine(intermediateOutputPath, "MvcWithComponents.dll")).Should().NotExist(); 42new FileInfo(Path.Combine(intermediateOutputPath, "MvcWithComponents.Views.dll")).Should().NotExist(); 45new FileInfo(Path.Combine(intermediateOutputPath, "RazorComponents", "Views", "Shared", "NavMenu.razor.g.cs")).Should().NotExist(); 72new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().NotExist(); 73new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().NotExist(); 74new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().NotExist(); 75new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().NotExist(); 76new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.pdb")).Should().NotExist();
PackIntegrationTest.cs (1)
30new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().NotExist();
PublishIntegrationTest.cs (1)
42new FileInfo(Path.Combine(publishOutputPath, "wwwroot", ".not-copied", "test.txt")).Should().NotExist();
Microsoft.NET.Sdk.StaticWebAssets.Tests (42)
JsModulesIntegrationTest.cs (4)
26new FileInfo(Path.Combine(intermediateOutputPath, "jsmodules", "jsmodules.build.manifest.json")).Should().NotExist(); 129new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "ComponentApp.lib.module.js")).Should().NotExist(); 130new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "ComponentApp.modules.json")).Should().NotExist(); 145file.Should().NotExist();
LegacyStaticWebAssetsV1IntegrationTest.cs (1)
60new FileInfo(finalPath).Should().NotExist();
ScopedCssIntegrationTests.cs (24)
25new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 26new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 27new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "bundle", "ComponentApp.styles.css")).Should().NotExist(); 28new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "FetchData.razor.rz.scp.css")).Should().NotExist(); 42new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "Index.cshtml.rz.scp.css")).Should().NotExist(); 43new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "Contact.cshtml.rz.scp.css")).Should().NotExist(); 44new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "bundle", "SimpleMvc.styles.css")).Should().NotExist(); 45new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "About.cshtml.rz.scp.css")).Should().NotExist(); 59new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 60new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 61new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "bundle", "ComponentApp.styles.css")).Should().NotExist(); 62new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "FetchData.razor.rz.scp.css")).Should().NotExist(); 97new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 115new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "FetchData.razor.rz.scp.css")).Should().NotExist(); 246new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 247new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 266new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 267new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 284new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "_framework", "scoped.styles.css")).Should().NotExist(); 298new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "_content", "ComponentApp", "ComponentApp.styles.css")).Should().NotExist(); 331new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 355new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().NotExist(); 356new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Index.razor.rz.scp.css")).Should().NotExist(); 357new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "_framework", "scoped.styles.css")).Should().NotExist();
StaticWebAssetsIntegrationTest.cs (13)
69new FileInfo(Path.Combine(intermediateOutputPath, "rpswa.dswa.cache.json")).Should().NotExist(); 71new FileInfo(Path.Combine(intermediateOutputPath, "rbcswa.dswa.cache.json")).Should().NotExist(); 73new FileInfo(Path.Combine(intermediateOutputPath, "rjimswa.dswa.cache.json")).Should().NotExist(); 75new FileInfo(Path.Combine(intermediateOutputPath, "rjsmcshtml.dswa.cache.json")).Should().NotExist(); 76new FileInfo(Path.Combine(intermediateOutputPath, "rjsmrazor.dswa.cache.json")).Should().NotExist(); 278new FileInfo(finalPath).Should().NotExist(); 313new FileInfo(finalPath).Should().NotExist(); 462new FileInfo(path).Should().NotExist(); 465new FileInfo(finalPath).Should().NotExist(); 509new FileInfo(finalPath).Should().NotExist(); 808new FileInfo(finalPath).Should().NotExist(); 851new FileInfo(finalPath).Should().NotExist(); 960new FileInfo(finalPath).Should().NotExist();
Microsoft.NET.TestFramework (1)
Assertions\DirectoryInfoAssertions.cs (1)
39file.Should().NotExist($"File {expectedFile} should not be found in directory {_dirInfo.FullName}.");