589 references to Exists
AnalyzerRunner (2)
aspire (8)
Aspire.Cli.Tests (7)
Aspire.Dashboard.Tests (2)
Aspire.EndToEnd.Tests (11)
Aspire.Hosting (9)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.Python (2)
Aspire.Hosting.Python.Tests (6)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (8)
Aspire.Templates.Tests (15)
csc (1)
dotnet-dev-certs (9)
dotnet-openapi (1)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (15)
dotnet-svcutil-lib.Tests (19)
TestInit.cs (12)
155Assert.True(Directory.Exists(g_RepositoryRoot), $"{nameof(g_RepositoryRoot)} is not initialized!");
156Assert.True(Directory.Exists(g_TestCasesDir), $"{nameof(g_TestCasesDir)} is not initialized!");
157Assert.True(Directory.Exists(g_TestResultsDir), $"{nameof(g_TestResultsDir)} is not initialized!");
158Assert.True(Directory.Exists(g_TestBootstrapDir), $"{nameof(g_TestBootstrapDir)} is not initialized!");
159Assert.True(Directory.Exists(g_TestOutputDir), $"{nameof(g_TestOutputDir)} is not initialized!");
160Assert.True(Directory.Exists(g_BaselinesDir), $"{nameof(g_BaselinesDir)} is not initialized!");
180if (!Directory.Exists(pkgPath) || !Directory.GetFiles(pkgPath, "dotnet-svcutil-lib*.nupkg").Any())
277Assert.True(Directory.Exists(this_TestCaseOutputDir), $"{nameof(this_TestGroupOutputDir)} is not initialized!");
278Assert.True(Directory.Exists(this_TestCaseBaselinesDir), $"{nameof(this_TestCaseBaselinesDir)} is not initialized!");
537if (!Directory.Exists(Path.Combine(vstestDir, "TestCases")))
540Assert.True(Directory.Exists(vstestDir), $"{nameof(vstestDir)} is not initialized!");
556if (!Directory.Exists(binDir) || !Directory.GetFiles(binDir, "dotnet-svcutil-lib.*.nupkg").Any())
dotnet-user-jwts (1)
dotnet-user-secrets (1)
FilesWebSite (1)
GenerateAnalyzerNuspec (7)
GenerateDocumentationAndConfigFiles (1)
HelixTestRunner (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (12)
ShadowCopyTests.cs (10)
219Assert.False(Directory.Exists(Path.Combine(directory.DirectoryPath, "0")), "Expected 0 shadow copy directory to be skipped");
230Assert.True(Directory.Exists(Path.Combine(directory.DirectoryPath, "2")), "Expected 2 shadow copy directory");
261Assert.False(Directory.Exists(Path.Combine(directory.DirectoryPath, "0")), "Expected 0 shadow copy directory to be skipped");
272Assert.True(Directory.Exists(Path.Combine(directory.DirectoryPath, "11")), "Expected 11 shadow copy directory");
278Assert.False(Directory.Exists(Path.Combine(directory.DirectoryPath, "1")), "Expected 1 shadow copy directory to be deleted");
279Assert.False(Directory.Exists(Path.Combine(directory.DirectoryPath, "3")), "Expected 3 shadow copy directory to be deleted");
304Assert.True(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy")));
306Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy")));
334Assert.True(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy")));
336Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy")));
IISExpress.FunctionalTests (2)
illink (2)
Metrics (1)
Metrics.Legacy (1)
Microsoft.Agents.AI.ProjectTemplates.Tests (2)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.App.UnitTests (5)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (3)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (9)
Microsoft.AspNetCore.Hosting (6)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Server.IntegrationTesting (5)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (3)
Microsoft.AspNetCore.Shared.Tests (9)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.Tests (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk.UnitTests (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.LanguageServer (3)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Microsoft.DotNet.Build.Tasks.Feed (5)
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
Microsoft.DotNet.Build.Tasks.Installers (7)
Microsoft.DotNet.Build.Tasks.Packaging (8)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
Microsoft.DotNet.GenAPI (2)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Internal.SymbolHelper (3)
Microsoft.DotNet.MacOsPkg.Core (4)
Microsoft.DotNet.MacOsPkg.Tests (2)
Microsoft.DotNet.Open.Api.Tools.Tests (2)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.SetupNugetSources.Tests (7)
Microsoft.DotNet.SharedFramework.Sdk (2)
Microsoft.DotNet.SignCheckLibrary (6)
Microsoft.DotNet.SignCheckTask (4)
Microsoft.DotNet.SignTool (6)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.Tar (1)
Microsoft.DotNet.VersionTools.Cli (1)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Templates.Tests (2)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
Microsoft.Extensions.ApiDescription.Tool.Tests (2)
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.Configuration.KeyPerFile (1)
Microsoft.Extensions.Configuration.UserSecrets (1)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.FileProviders.Physical (3)
Microsoft.Extensions.SecretManager.Tools.Tests (3)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (1)
Microsoft.Maui (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.CodeGenerator (1)
Microsoft.ML.Core (6)
Microsoft.ML.ImageAnalytics (1)
Microsoft.ML.SamplesUtils (3)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TensorFlow (2)
Microsoft.ML.TensorFlow.Tests (4)
Microsoft.ML.TestFramework (1)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.Vision (3)
Microsoft.VisualBasic.Core (14)
Microsoft.VisualBasic.Forms.Tests (9)
Microsoft.VisualBasic.Tests (11)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Pipelines.AppHost (1)
Pipelines.Library (1)
PrepareTests (1)
PresentationBuildTasks (5)
PresentationCore (1)
Replay (2)
Roslyn.Diagnostics.Analyzers (1)
Roslyn.Test.Performance.Utilities (2)
RulesetToEditorconfigConverter (1)
RunTests (4)
System.ComponentModel.Composition (1)
System.Configuration.ConfigurationManager (1)
System.Console (1)
System.Diagnostics.Process (2)
System.DirectoryServices.Protocols (1)
System.Drawing.Common (1)
System.Drawing.Common.Tests (1)
System.Formats.Tar (13)
System.IO.Compression.ZipFile (1)
System.IO.FileSystem.DriveInfo (2)
System.IO.FileSystem.Watcher (3)
System.IO.IsolatedStorage (4)
System.IO.MemoryMappedFiles (1)
System.IO.Pipes (1)
System.IO.Ports (5)
System.Net.Sockets (1)
System.Private.CoreLib (3)
System.Security.Cryptography (4)
System.Windows.Forms (2)
System.Windows.Forms.Analyzers.Tests (2)
System.Windows.Forms.IntegrationTests.Common (2)
System.Windows.Forms.Primitives.TestUtilities.Tests (1)
System.Windows.Forms.UI.IntegrationTests (2)
Templates.Blazor.Tests (13)
Templates.Blazor.WebAssembly.Auth.Tests (14)
Templates.Blazor.WebAssembly.Tests (14)
Templates.Mvc.Tests (14)
Templates.Tests (14)
Test.Utilities (1)
Text.Analyzers (1)
vbc (1)
VBCSCompiler (1)
WinFormsControlsTest (1)
WinShimmer (1)
xunit.console (1)