476 references to Exist
dotnet.Tests (18)
CommandTests\Pack\PackTests.cs (5)
82outputPackage.Should().Exist(); 100outputPackage.Should().Exist(); 124outputPackage.Should().Exist(); 134symbolsPackage.Should().Exist(); 387outputPackage.Should().Exist();
CommandTests\Run\RunFileTests.cs (5)
1137new FileInfo(binaryLogPath).Should().Exist(); 1598new DirectoryInfo(testInstance.Path).File("msbuild.binlog").Should().Exist(); 1725packageDir.File("MyFileBasedTool.1.0.0.nupkg").Should().Exist(); 1769new DirectoryInfo(outputDir).File("MyFileBasedTool.1.0.0.nupkg").Should().Exist(); 1797dllFile.Should().Exist();
CommandTests\Workload\Install\WorkloadGarbageCollectionTests.cs (8)
73PackRecord(pack, "6.0.300").Should().Exist(); 161ManifestRecord("testmanifest", "3.0.0", "6.0.300", "6.0.300").Should().Exist(); 165new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.300", "testmanifest", "3.0.0", "WorkloadManifest.json")).Should().Exist(); 177PackRecord(pack, "6.0.300").Should().Exist(); 240ManifestRecord("testmanifest", "2.0.0", "6.0.300", "6.0.300").Should().Exist(); 244new FileInfo(Path.Combine(_dotnetRoot, "sdk-manifests", "6.0.300", "testmanifest", "2.0.0", "WorkloadManifest.json")).Should().Exist(); 257PackRecord(pack, "6.0.300").Should().Exist(); 273new FileInfo(pack.Path).Should().Exist();
Microsoft.DotNet.PackageInstall.Tests (2)
EndToEndToolTests.cs (2)
39new FileInfo(shimPath).Should().Exist(); 72new FileInfo(shimPath).Should().Exist();
Microsoft.NET.Build.Tests (17)
ArtifactsOutputPathTests.cs (14)
95.Exist(); 117.Exist(); 120.Exist(); 142.Exist(); 145.Exist(); 186.Exist(); 306new FileInfo(Path.Combine(testAsset.Path, "artifacts", "package", "release", testProject.Name + ".1.0.0.nupkg")).Should().Exist(); 348.Exist(); 363.Exist(); 379.Exist(); 395.Exist(); 411.Exist(); 530new FileInfo(Path.Combine(testAsset.Path, "MSBuildSdk", "bin", "Debug", ToolsetInfo.CurrentTargetFramework, "MSBuildSdk.dll")).Should().Exist(); 531new FileInfo(Path.Combine(testAsset.Path, "MSBuildSdk", "obj", "Debug", ToolsetInfo.CurrentTargetFramework, "MSBuildSdk.dll")).Should().Exist();
GivenThatWeWantMSBuildToRespectCustomCulture.cs (2)
26new FileInfo(Path.Combine(outputDirectory, "test-1", "MSBuildCultureResourceGeneration.resources.dll")).Should().Exist(); 27new FileInfo(Path.Combine(outputDirectory, "test-2", "MSBuildCultureResourceGeneration.resources.dll")).Should().Exist();
GivenThatWeWantToUseContentFiles.cs (1)
114fileInfo.Should().Exist();
Microsoft.NET.Pack.Tests (4)
GivenThatWeWantToPackAHelloWorldProject.cs (2)
124new FileInfo(expectedAssetPath).Should().Exist(); 156new FileInfo(expectedAssetPath).Should().Exist();
SolutionPackTests.cs (2)
37new FileInfo(Path.Combine(packageOutputPath, testProject1.Name + ".1.0.0.nupkg")).Should().Exist(); 38new FileInfo(Path.Combine(packageOutputPath, testProject1.Name + ".1.0.0.nupkg")).Should().Exist();
Microsoft.NET.Publish.Tests (1)
GivenThatWeWantToPublishIncrementally.cs (1)
337new FileInfo(Path.Combine(publishDir, expectedFile)).Should().Exist();
Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests (2)
WasmAoTPublishIntegrationTest.cs (2)
83webConfig.Should().Exist(); 117new FileInfo(Path.Combine(publishDirectory.ToString(), "blazorhosted.dll")).Should().Exist();
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (152)
BlazorLegacyIntegrationTest50.cs (10)
26new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "blazor.boot.json")).Should().Exist(); 27new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 28new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.wasm")).Should().Exist(); 29new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.timezones.blat")).Should().Exist(); 30new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.wasm.gz")).Should().Exist(); 31new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", $"{testAsset}.Client.dll")).Should().Exist(); 34new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Server.dll")).Should().Exist(); 35new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Client.dll")).Should().Exist(); 36new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Shared.dll")).Should().Exist(); 41fileInfo.Should().Exist();
BlazorLegacyIntegrationTest60.cs (10)
34new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "blazor.boot.json")).Should().Exist(); 35new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 36new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.wasm")).Should().Exist(); 37new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.timezones.blat")).Should().Exist(); 38new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", "dotnet.wasm.gz")).Should().Exist(); 39new FileInfo(Path.Combine(clientBuildOutputDirectory, "wwwroot", "_framework", $"{testAsset}.Client.dll")).Should().Exist(); 42new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Server.dll")).Should().Exist(); 43new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Client.dll")).Should().Exist(); 44new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Shared.dll")).Should().Exist(); 86new FileInfo(path).Should().Exist();
BlazorWasmStaticWebAssetsIntegrationTest.cs (10)
40new FileInfo(path).Should().Exist(); 46new FileInfo(finalPath).Should().Exist(); 81new FileInfo(path).Should().Exist(); 117new FileInfo(path).Should().Exist(); 123new FileInfo(finalPath).Should().Exist(); 161new FileInfo(path).Should().Exist(); 201new FileInfo(path).Should().Exist(); 245new FileInfo(path).Should().Exist(); 252new FileInfo(finalPath).Should().Exist(); 300new FileInfo(path).Should().Exist();
VanillaWasmTests.cs (3)
31new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.js")).Should().Exist(); 32new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 34new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist();
WasmBuildIncrementalismTest.cs (3)
148new FileInfo(satelliteAssemblyFile).Should().Exist(); 202new FileInfo(satelliteAssemblyFile).Should().Exist(); 241new FileInfo(satelliteAssemblyFile).Should().Exist();
WasmBuildIntegrationTest.cs (62)
46new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 47new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 48new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 49new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm.gz")).Should().Exist(); 50new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm-minimal.wasm")).Should().Exist(); 75new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 76new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 77new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 78new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm.gz")).Should().Exist(); 79new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist(); 80new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm")).Should().Exist(); 81new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm.gz")).Should().Exist(); 82new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm")).Should().Exist(); 83new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm.gz")).Should().Exist(); 85new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.pdb")).Should().Exist(); 86new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.pdb")).Should().Exist(); 87new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.wasm")).Should().Exist(); 127new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 128new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 129new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 130new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm.gz")).Should().Exist(); 131new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist(); 132new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm")).Should().Exist(); 133new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm.gz")).Should().Exist(); 134new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm")).Should().Exist(); 135new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm.gz")).Should().Exist(); 137new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.pdb")).Should().Exist(); 138new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.pdb")).Should().Exist(); 139new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.wasm")).Should().Exist(); 165new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 166new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 167new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 168new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm.gz")).Should().Exist(); 169new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist(); 170new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm")).Should().Exist(); 171new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm.gz")).Should().Exist(); 172new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm")).Should().Exist(); 173new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "System.wasm.gz")).Should().Exist(); 175new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.pdb")).Should().Exist(); 176new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.pdb")).Should().Exist(); 177new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.wasm")).Should().Exist(); 299new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 333new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 371new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 414new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 415new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", customIcuFilename)).Should().Exist(); 457new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 458new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", customIcuFilename)).Should().Exist(); 500new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 501new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist(); 542new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 543new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist(); 598new FileInfo(path).Should().Exist(); 604new FileInfo(finalPath).Should().Exist(); 611new FileInfo(Path.Combine(outputPath, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist(); 612new FileInfo(Path.Combine(outputPath, "wwwroot", "_framework", "classlibrarywithsatelliteassemblies.wasm")).Should().Exist(); 613new FileInfo(Path.Combine(outputPath, "wwwroot", "_framework", "Microsoft.CodeAnalysis.CSharp.wasm")).Should().Exist(); 614new FileInfo(Path.Combine(outputPath, "wwwroot", "_framework", "fr", "Microsoft.CodeAnalysis.CSharp.resources.wasm")).Should().Exist(); 656referenceAssemblyPath.Should().Exist(); 697fileInWwwroot.Should().Exist(); 739referenceAssemblyPath.Should().Exist(); 777fileInWwwroot.Should().Exist();
WasmJsModulesIntegrationTests.cs (18)
38new FileInfo(path).Should().Exist(); 43blazorBootJson.Should().Exist(); 83new FileInfo(path).Should().Exist(); 88blazorBootJson.Should().Exist(); 127new FileInfo(path).Should().Exist(); 132blazorBootJson.Should().Exist(); 144lib.Should().Exist(); 191new FileInfo(path).Should().Exist(); 197lib.Should().Exist(); 247new FileInfo(path).Should().Exist(); 256lib.Should().Exist(); 262extension.Should().Exist(); 318new FileInfo(path).Should().Exist(); 324new FileInfo(Path.Combine(outputPath, "wwwroot", "blazorhosted.modules.json")).Should().Exist(); 326lib.Should().Exist(); 332extension.Should().Exist(); 343blazorBootJson.Should().Exist(); 355blazorBootJson.Should().Exist();
WasmPublishIntegrationTest.cs (33)
94cssFile.Should().Exist(); 148new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 149new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "blazor.webassembly.js")).Should().Exist(); 150new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 151new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm.gz")).Should().Exist(); 152new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist(); 153new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm")).Should().Exist(); 154new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "System.Text.Json.wasm.gz")).Should().Exist(); 155new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "System.Private.CoreLib.wasm")).Should().Exist(); 156new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "System.Private.CoreLib.wasm.gz")).Should().Exist(); 158new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "RazorClassLibrary.wasm")).Should().Exist(); 270webConfig.Should().Exist(); 801new FileInfo(Path.Combine(publishDirectory.ToString(), "blazorhosted.dll")).Should().Exist(); 897new FileInfo(Path.Combine(publishDirectory.ToString(), "blazorhosted.dll")).Should().Exist(); 962new FileInfo(Path.Combine(publishDirectory.ToString(), "blazorhosted.dll")).Should().Exist(); 1059new FileInfo(Path.Combine(publishDirectory.ToString(), "blazorhosted.dll")).Should().Exist(); 1491new FileInfo(Path.Combine(publishOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 1518new FileInfo(Path.Combine(publishOutputDirectory, "BlazorMultipleApps.Server.dll")).Should().Exist(); 1519new FileInfo(Path.Combine(publishOutputDirectory, "BlazorMultipleApps.FirstClient.dll")).Should().Exist(); 1520new FileInfo(Path.Combine(publishOutputDirectory, "BlazorMultipleApps.SecondClient.dll")).Should().Exist(); 1525new FileInfo(firstCss).Should().Exist(); 1526new FileInfo(firstCss).Should().Exist("/* First app.css */"); 1537new FileInfo(Path.Combine(firstAppPublishDirectory, "_framework", "dotnet.native.wasm.br")).Should().Exist(); 1538new FileInfo(Path.Combine(firstAppPublishDirectory, "_framework", "BlazorMultipleApps.FirstClient.wasm.br")).Should().Exist(); 1539new FileInfo(Path.Combine(firstAppPublishDirectory, "_framework", "Newtonsoft.Json.wasm.br")).Should().Exist(); 1544new FileInfo(secondCss).Should().Exist(); 1545new FileInfo(secondCss).Should().Exist("/* Second app.css */"); 1553new FileInfo(Path.Combine(secondAppPublishDirectory, "_framework", "dotnet.native.wasm.br")).Should().Exist(); 1554new FileInfo(Path.Combine(secondAppPublishDirectory, "_framework", "BlazorMultipleApps.SecondClient.wasm.br")).Should().Exist(); 1555new FileInfo(Path.Combine(secondAppPublishDirectory, "_framework", "System.Private.CoreLib.wasm.br")).Should().Exist(); 1571referenceAssemblyPath.Should().Exist(); 1612fileInWwwroot.Should().Exist(); 1626new FileInfo(assemblyPath).Should().Exist();
WasmPwaManifestTests.cs (3)
41new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", WasmBootConfigFileName)).Should().Exist(); 42new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); 43new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm.wasm")).Should().Exist();
Microsoft.NET.Sdk.Razor.Tests (114)
ApplicationPartDiscoveryIntegrationTest.cs (1)
27new FileInfo(Path.Combine(intermediateOutputPath, "AppWithP2PReference.MvcApplicationPartsAssemblyInfo.cs")).Should().Exist();
BuildIncrementalismTest.cs (10)
41new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.dll")).Should().Exist(); 72new FileInfo(outputFile).Should().Exist(); 75new FileInfo(generatedDefinitionFile).Should().Exist(); 77new FileInfo(generatedFile).Should().Exist(); 80new FileInfo(tagHelperOutputCache).Should().Exist(); 94new FileInfo(generatedDefinitionFile).Should().Exist(); 97new FileInfo(generatedFile).Should().Exist(); 126new FileInfo(classLibraryDll).Should().Exist(); 127new FileInfo(classLibraryViewsDll).Should().Exist(); 128new FileInfo(markerFile).Should().Exist();
BuildIntegrationTest.cs (18)
35new FileInfo(Path.Combine(outputPath, "SimpleMvc.dll")).Should().Exist(); 36new FileInfo(Path.Combine(outputPath, "SimpleMvc.pdb")).Should().Exist(); 52new FileInfo(Path.Combine(outputPath, "SimpleMvc.dll")).Should().Exist(); 53new FileInfo(Path.Combine(outputPath, "SimpleMvc.pdb")).Should().Exist(); 97new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 98new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.pdb")).Should().Exist(); 101new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 102new FileInfo(Path.Combine(outputPath, "ClassLibrary.pdb")).Should().Exist(); 119new FileInfo(Path.Combine(outputPath, "SimpleMvc.deps.json")).Should().Exist(); 149new FileInfo(Path.Combine(outputPath, "refs", "mscorlib.dll")).Should().Exist(); 207new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 209new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 211new FileInfo(Path.Combine(outputPath, "AnotherClassLib.dll")).Should().Exist(); 246new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 248new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 250new FileInfo(Path.Combine(outputPath, "ClassLibraryMvc21.dll")).Should().Exist(); 251new FileInfo(Path.Combine(outputPath, "ClassLibraryMvc21.Views.dll")).Should().Exist(); 265new FileInfo(Path.Combine(intermediateOutputPath, "SimpleMvc.dll")).Should().Exist();
BuildWithComponents31IntegrationTest.cs (4)
21new FileInfo(Path.Combine(outputPath, "blazor31.dll")).Should().Exist(); 22new FileInfo(Path.Combine(outputPath, "blazor31.pdb")).Should().Exist(); 23new FileInfo(Path.Combine(outputPath, "blazor31.Views.dll")).Should().Exist(); 24new FileInfo(Path.Combine(outputPath, "blazor31.Views.pdb")).Should().Exist();
BuildWithComponentsIntegrationTest.cs (4)
30new FileInfo(Path.Combine(outputPath, "ComponentLibrary.dll")).Should().Exist(); 31new FileInfo(Path.Combine(outputPath, "ComponentLibrary.pdb")).Should().Exist(); 47new FileInfo(Path.Combine(outputPath, "MvcWithComponents.dll")).Should().Exist(); 48new FileInfo(Path.Combine(outputPath, "MvcWithComponents.pdb")).Should().Exist();
MvcBuildIntegrationTest21NetFx.cs (12)
28new FileInfo(Path.Combine(outputPath, OutputFileName)).Should().Exist(); 29new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.pdb")).Should().Exist(); 30new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.dll")).Should().Exist(); 31new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.pdb")).Should().Exist(); 34new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.input.cache")).Should().Exist(); 35new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.output.cache")).Should().Exist(); 71new FileInfo(Path.Combine(outputPath, OutputFileName)).Should().Exist(); 72new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.pdb")).Should().Exist(); 73new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.dll")).Should().Exist(); 74new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.pdb")).Should().Exist(); 92new FileInfo(Path.Combine(outputPath, "refs", "System.Threading.Tasks.Extensions.dll")).Should().Exist(); 108depsFile.Should().Exist();
MvcBuildIntegrationTest22.cs (6)
31new FileInfo(Path.Combine(outputPath, OutputFileName)).Should().Exist(); 32new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.pdb")).Should().Exist(); 33new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.dll")).Should().Exist(); 34new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.pdb")).Should().Exist(); 37new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.input.cache")).Should().Exist(); 38new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.output.cache")).Should().Exist();
MvcBuildIntegrationTest50.cs (10)
63new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 64new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().Exist(); 65new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 66new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().Exist(); 67new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.pdb")).Should().Exist(); 82new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 83new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.Views.dll")).Should().Exist(); 84new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 85new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.dll")).Should().Exist(); 86new FileInfo(Path.Combine(outputPath, "ClassLibrary.Views.pdb")).Should().Exist();
MvcBuildIntegrationTestLegacy.cs (12)
33new FileInfo(Path.Combine(outputPath, OutputFileName)).Should().Exist(); 34new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.pdb")).Should().Exist(); 35new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.dll")).Should().Exist(); 36new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.pdb")).Should().Exist(); 39new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.input.cache")).Should().Exist(); 40new FileInfo(Path.Combine(intermediateOutputPath, $"{TestProjectName}.TagHelpers.output.cache")).Should().Exist(); 77new FileInfo(Path.Combine(outputPath, OutputFileName)).Should().Exist(); 78new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.pdb")).Should().Exist(); 79new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.dll")).Should().Exist(); 80new FileInfo(Path.Combine(outputPath, $"{TestProjectName}.Views.pdb")).Should().Exist(); 99new FileInfo(Path.Combine(outputPath, "refs", "System.Threading.Tasks.Extensions.dll")).Should().Exist(); 115depsFile.Should().Exist();
PackIntegrationTest.cs (1)
29new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist();
PublishIntegrationTest.cs (36)
24new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.dll")).Should().Exist(); 25new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.pdb")).Should().Exist(); 26new FileInfo(Path.Combine(publishOutputPath, "appsettings.json")).Should().Exist(); 27new FileInfo(Path.Combine(publishOutputPath, "appsettings.Development.json")).Should().Exist(); 29new FileInfo(Path.Combine(outputPath, "SimpleMvc.dll")).Should().Exist(); 30new FileInfo(Path.Combine(outputPath, "SimpleMvc.pdb")).Should().Exist(); 31new FileInfo(Path.Combine(outputPath, "appsettings.json")).Should().Exist(); 32new FileInfo(Path.Combine(outputPath, "appsettings.Development.json")).Should().Exist(); 35new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "js", "SimpleMvc.js")).Should().Exist(); 36new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "css", "site.css")).Should().Exist(); 37new FileInfo(Path.Combine(publishOutputPath, "wwwroot", ".well-known", "security.txt")).Should().Exist(); 57new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.dll")).Should().Exist(); 58new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.pdb")).Should().Exist(); 79new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.dll")).Should().Exist(); 80new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.pdb")).Should().Exist(); 95new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.dll")).Should().Exist(); 96new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.pdb")).Should().Exist(); 99new FileInfo(Path.Combine(publishOutputPath, "refs", "mscorlib.dll")).Should().Exist(); 122new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.dll")).Should().Exist(); 123new FileInfo(Path.Combine(publishOutputPath, "SimpleMvc.pdb")).Should().Exist(); 126new FileInfo(Path.Combine(publishOutputPath, "refs", "mscorlib.dll")).Should().Exist(); 140new FileInfo(Path.Combine(publishOutputPath, "AppWithP2PReference.dll")).Should().Exist(); 141new FileInfo(Path.Combine(publishOutputPath, "AppWithP2PReference.pdb")).Should().Exist(); 142new FileInfo(Path.Combine(publishOutputPath, "ClassLibrary.dll")).Should().Exist(); 143new FileInfo(Path.Combine(publishOutputPath, "ClassLibrary.pdb")).Should().Exist(); 177new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).Should().Exist(); 178new FileInfo(Path.Combine(outputPath, "ClassLibrary.dll")).Should().Exist(); 179new FileInfo(Path.Combine(outputPath, "AnotherClassLib.dll")).Should().Exist(); 188new FileInfo(Path.Combine(publishOutputPath, "AppWithP2PReference.dll")).Should().Exist(); 189new FileInfo(Path.Combine(publishOutputPath, "AppWithP2PReference.pdb")).Should().Exist(); 191new FileInfo(Path.Combine(publishOutputPath, "ClassLibrary.dll")).Should().Exist(); 192new FileInfo(Path.Combine(publishOutputPath, "ClassLibrary.pdb")).Should().Exist(); 194new FileInfo(Path.Combine(publishOutputPath, "AnotherClassLib.dll")).Should().Exist(); 195new FileInfo(Path.Combine(publishOutputPath, "AnotherClassLib.pdb")).Should().Exist(); 211new FileInfo(assemblyPath).Should().Exist(); 221new FileInfo(publishAssemblyPath).Should().Exist();
Microsoft.NET.Sdk.StaticWebAssets.Tests (162)
JsModulesIntegrationTest.cs (6)
49file.Should().Exist(); 108new FileInfo(path).Should().Exist(); 229file.Should().Exist(); 274file.Should().Exist(); 332modulesManifest.Should().Exist(); 337moduleFile.Should().Exist();
LegacyStaticWebAssetsV1IntegrationTest.cs (4)
53new FileInfo(path).Should().Exist(); 64new FileInfo(path).Should().Exist(); 116new FileInfo(path).Should().Exist(); 124new FileInfo(finalPath).Should().Exist();
ScopedCssIntegrationTests.cs (37)
92new FileInfo(scoped).Should().Exist(); 95new FileInfo(generated).Should().Exist(); 111new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().Exist(); 112new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Index.razor.rz.scp.css")).Should().Exist(); 113new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "bundle", "ComponentApp.styles.css")).Should().Exist(); 114new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "projectbundle", "ComponentApp.bundle.scp.css")).Should().Exist(); 129new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "Index.cshtml.rz.scp.css")).Should().Exist(); 130new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "Contact.cshtml.rz.scp.css")).Should().Exist(); 131new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "bundle", "SimpleMvc.styles.css")).Should().Exist(); 132new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "projectbundle", "SimpleMvc.bundle.scp.css")).Should().Exist(); 133new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Views", "Home", "About.cshtml.rz.scp.css")).Should().Exist(); 148new FileInfo(generatedCounter).Should().Exist(); 150new FileInfo(generatedIndex).Should().Exist(); 177new FileInfo(generatedIndex).Should().Exist(); 179new FileInfo(generatedAbout).Should().Exist(); 181new FileInfo(generatedContact).Should().Exist(); 215new FileInfo(generatedIndex).Should().Exist(); 218new FileInfo(generatedCounter).Should().Exist(); 245new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "ComponentApp.styles.css")).Should().Exist(); 265new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "ComponentApp.styles.css")).Should().Exist(); 300new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "Components", "Pages", "Index.razor.rz.scp.css")).Should().Exist(); 301new FileInfo(Path.Combine(publishOutputPath, "wwwroot", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().Exist(); 315new FileInfo(Path.Combine(intermediateOutputPath, "scopedcss", "Components", "Pages", "Counter.razor.rz.scp.css")).Should().Exist(); 317new FileInfo(generatedBundle).Should().Exist(); 319new FileInfo(generatedProjectBundle).Should().Exist(); 321new FileInfo(generatedCounter).Should().Exist(); 332new FileInfo(generatedCounter).Should().Exist(); 411new FileInfo(bundlePath).Should().Exist(); 438fileInfo.Should().Exist(); 477new FileInfo(finalPath).Should().Exist(); 489appBundle.Should().Exist(); 524new FileInfo(finalPath).Should().Exist(); 536appBundle.Should().Exist(); 565new FileInfo(finalPath).Should().Exist(); 577appBundle.Should().Exist(); 605new FileInfo(bundlePath).Should().Exist(); 614fileInfo.Should().Exist();
StaticWebAssetEndpointsIntegrationTest.cs (4)
40new FileInfo(path).Should().Exist(); 190new FileInfo(path).Should().Exist(); 200file.Should().Exist(); 321new FileInfo(path).Should().Exist();
StaticWebAssets\GenerateStaticWebAssetEndpointsManifestTest.cs (3)
203new FileInfo(path).Should().Exist(); 254new FileInfo(path).Should().Exist(); 255new FileInfo(exclusionCachePath).Should().Exist();
StaticWebAssets\GenerateStaticWebAssetEndpointsPropsFileTest.cs (1)
91new FileInfo(file).Should().Exist();
StaticWebAssetsCompressionIntegrationTest.cs (5)
46new FileInfo(path).Should().Exist(); 52new FileInfo(finalPath).Should().Exist(); 120new FileInfo(path).Should().Exist(); 126new FileInfo(finalPath).Should().Exist(); 161new FileInfo(path).Should().Exist();
StaticWebAssetsCrossTargetingTests.cs (3)
52new FileInfo(path).Should().Exist(); 59new FileInfo(finalPath).Should().Exist(); 99new FileInfo(path).Should().Exist();
StaticWebAssetsDesignTimeTest.cs (6)
44new FileInfo(inputFilePath).Should().Exist(); 52new FileInfo(outputFilePath).Should().Exist(); 80new FileInfo(inputFilePath).Should().Exist(); 87new FileInfo(outputFilePath).Should().Exist(); 114new FileInfo(inputFilePath).Should().Exist(); 120new FileInfo(outputFilePath).Should().Exist();
StaticWebAssetsFingerprintingTest.cs (2)
37new FileInfo(path).Should().Exist(); 43new FileInfo(finalPath).Should().Exist();
StaticWebAssetsIntegrationTest.cs (53)
31new FileInfo(path).Should().Exist(); 37new FileInfo(finalPath).Should().Exist(); 59new FileInfo(path).Should().Exist(); 65new FileInfo(finalPath).Should().Exist(); 98originalObjFile.Should().Exist(); 107originalFile.Should().Exist(); 115secondObjFile.Should().Exist(); 122secondFinalFile.Should().Exist(); 144originalObjFile.Should().Exist(); 152originalFile.Should().Exist(); 169secondObjFile.Should().Exist(); 182secondFinalFile.Should().Exist(); 212originalObjFile.Should().Exist(); 219originalFile.Should().Exist(); 228secondObjFile.Should().Exist(); 243secondFinalFile.Should().Exist(); 272new FileInfo(path).Should().Exist(); 282new FileInfo(path).Should().Exist(); 307new FileInfo(path).Should().Exist(); 317new FileInfo(path).Should().Exist(); 346objManifestFile.Should().Exist(); 355binManifestFile.Should().Exist(); 376secondBinManifestFile.Should().Exist(); 385new FileInfo(path).Should().Exist(); 412new FileInfo(path).Should().Exist(); 418new FileInfo(finalPath).Should().Exist(); 422new FileInfo(path).Should().Exist(); 448new FileInfo(path).Should().Exist(); 454new FileInfo(finalPath).Should().Exist(); 503new FileInfo(path).Should().Exist(); 513new FileInfo(path).Should().Exist(); 567new FileInfo(path).Should().Exist(); 608new FileInfo(path).Should().Exist(); 614new FileInfo(finalPath).Should().Exist(); 662new FileInfo(path).Should().Exist(); 670new FileInfo(finalPath).Should().Exist(); 674new FileInfo(path).Should().Exist(); 703new FileInfo(path).Should().Exist(); 711new FileInfo(finalPath).Should().Exist(); 738new FileInfo(path).Should().Exist(); 745new FileInfo(finalPath).Should().Exist(); 757new FileInfo(path).Should().Exist(); 765new FileInfo(finalPath).Should().Exist(); 801new FileInfo(path).Should().Exist(); 812new FileInfo(path).Should().Exist(); 843new FileInfo(path).Should().Exist(); 855new FileInfo(path).Should().Exist(); 885objManifestFile.Should().Exist(); 895binManifestFile.Should().Exist(); 917secondBinManifestFile.Should().Exist(); 923new FileInfo(path).Should().Exist(); 953new FileInfo(path).Should().Exist(); 964new FileInfo(path).Should().Exist();
StaticWebAssetsPackIntegrationTest.cs (38)
51new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 80new FileInfo(Path.Combine(outputPath, "PackageLibraryNoStaticAssets.dll")).Should().Exist(); 114new FileInfo(Path.Combine(outputPath, "PackageLibraryNoStaticAssets.dll")).Should().Exist(); 146new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 177new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 219new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 262new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 305new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 343new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 383new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 443new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 512new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 585new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 659new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 727new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 796new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 862new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 929new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1000new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1072new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1138new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1205new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1277new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1354new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1427new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1469new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1495new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1520new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1553new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1583new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1609new FileInfo(Path.Combine(outputPath, "ComponentLibrary.dll")).Should().Exist(); 1636new FileInfo(Path.Combine(outputPath, "PackageLibraryTransitiveDependency.dll")).Should().Exist(); 1638new FileInfo(Path.Combine(intermediateOutputPath, "staticwebassets", "msbuild.PackageLibraryTransitiveDependency.Microsoft.AspNetCore.StaticWebAssets.props")).Should().Exist(); 1639new FileInfo(Path.Combine(intermediateOutputPath, "staticwebassets", "msbuild.build.PackageLibraryTransitiveDependency.props")).Should().Exist(); 1640new FileInfo(Path.Combine(intermediateOutputPath, "staticwebassets", "msbuild.buildMultiTargeting.PackageLibraryTransitiveDependency.props")).Should().Exist(); 1641new FileInfo(Path.Combine(intermediateOutputPath, "staticwebassets", "msbuild.buildTransitive.PackageLibraryTransitiveDependency.props")).Should().Exist(); 1684new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist(); 1715new FileInfo(Path.Combine(outputPath, "PackageLibraryDirectDependency.dll")).Should().Exist();
Microsoft.NET.TestFramework (4)
Assertions\CommandResultAssertions.cs (3)
265new FileInfo(nupkgPath).Should().Exist(); 285new FileInfo(nuspecPath).Should().Exist(); 305new FileInfo(nuspecPath).Should().Exist();
Assertions\DirectoryInfoAssertions.cs (1)
32file.Should().Exist($"Expected File {expectedFile} cannot be found in directory {_dirInfo.FullName}.");