45 references to DirectoryNotFoundException
aspire (2)
src\Shared\BundleVersionLease.cs (1)
101throw new DirectoryNotFoundException($"Bundle version directory '{fullVersionDirectory}' does not exist.");
Utils\FileSystemHelper.cs (1)
57throw new DirectoryNotFoundException($"Source directory not found: {sourceDir}");
aspire-managed (1)
src\Shared\BundleVersionLease.cs (1)
101throw new DirectoryNotFoundException($"Bundle version directory '{fullVersionDirectory}' does not exist.");
Aspire.Acquisition.Tests (2)
Scripts\Common\ScriptHostFixture.cs (1)
41throw new DirectoryNotFoundException($"Scripts directory not found: {_scriptsDirectory}");
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
260throw new DirectoryNotFoundException($"Working directory '{WorkingDirectory}' does not exist.");
Aspire.Cli.EndToEnd.Tests (3)
tests\Shared\CliInstallStrategy.cs (3)
358throw new DirectoryNotFoundException($"LocalArchive directory not found: {archiveDir}"); 402throw new DirectoryNotFoundException($"Nupkg source directory not found: {nupkgSourcePath}"); 421throw new DirectoryNotFoundException($"Nupkg source directory not found: {nupkgSourcePath}");
Aspire.Deployment.EndToEnd.Tests (3)
tests\Shared\CliInstallStrategy.cs (3)
358throw new DirectoryNotFoundException($"LocalArchive directory not found: {archiveDir}"); 402throw new DirectoryNotFoundException($"Nupkg source directory not found: {nupkgSourcePath}"); 421throw new DirectoryNotFoundException($"Nupkg source directory not found: {nupkgSourcePath}");
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
260throw new DirectoryNotFoundException($"Working directory '{WorkingDirectory}' does not exist.");
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
260throw new DirectoryNotFoundException($"Working directory '{WorkingDirectory}' does not exist.");
dotnet-svcutil-lib (1)
Metadata\MetadataFileNameManager.cs (1)
248throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrDirectoryNotFoundFormat, dirInfo.FullName));
Infrastructure.Tests (3)
PowerShellScripts\PowerShellCommand.cs (1)
246throw new DirectoryNotFoundException($"Working directory '{WorkingDirectory}' does not exist.");
Shared\RepoRoot.cs (1)
34throw new DirectoryNotFoundException(
WorkflowScripts\NodeCommand.cs (1)
225throw new DirectoryNotFoundException($"Working directory '{WorkingDirectory}' does not exist.");
Microsoft.AspNetCore.Http (1)
parent\parent\WebUtilities\src\AspNetCoreTempDirectory.cs (1)
24throw new DirectoryNotFoundException(temp);
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Common\DeploymentParameters.cs (1)
59throw new DirectoryNotFoundException($"Application path {applicationPath} does not exist.");
Deployers\ApplicationDeployer.cs (1)
48throw new DirectoryNotFoundException($"Application path {DeploymentParameters.ApplicationPath} does not exist.");
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
275throw new DirectoryNotFoundException(
Microsoft.AspNetCore.WebUtilities (1)
AspNetCoreTempDirectory.cs (1)
24throw new DirectoryNotFoundException(temp);
Microsoft.Build.Tasks.Core (1)
Exec.cs (1)
560throw new DirectoryNotFoundException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("Exec.InvalidWorkingDirectory", _workingDirectory.OriginalValue));
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
177HandleException(ExceptionDispatchInfo.Capture(new DirectoryNotFoundException(error.ToString())));
Microsoft.Extensions.Configuration.KeyPerFile (2)
KeyPerFileConfigurationProvider.cs (2)
80throw new DirectoryNotFoundException("A non-null file provider for the directory is required when this source is not optional."); 92throw new DirectoryNotFoundException("The root directory for the FileProvider doesn't exist and is not optional.");
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFilesWatcher.cs (1)
940current = Path.GetDirectoryName(current) ?? throw new DirectoryNotFoundException(SR.Format(SR.RootDirectoryMissing, current));
Microsoft.ML.SamplesUtils (1)
SamplesDatasetUtils.cs (1)
34throw new DirectoryNotFoundException("Could not find the ML.NET repository");
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
63Return New IO.DirectoryNotFoundException(GetResourceString(resourceKey, placeHolders))
NuGet.PackageManagement (1)
Utility\PackagesConfigLockFileUtility.cs (1)
305throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture, Strings.Error_DirectoryDoesNotExist, packagesFolderPath));
PresentationCore (1)
MS\Internal\FontCache\FontCacheUtil.cs (1)
751throw new DirectoryNotFoundException(SR.Format(SR.DirectoryNotFoundExceptionWithFileName, fileName));
System.Console (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.Formats.Tar (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.FileSystem.DriveInfo (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.FileSystem.Watcher (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System\IO\FileSystemWatcher.cs (1)
408=> new DirectoryNotFoundException(SR.Format(SR.FSW_WatchedDirectoryDeletedOrMoved, directoryPath));
System.IO.MemoryMappedFiles (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.Pipes (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.Ports (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.Private.CoreLib (3)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
138new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.cs (1)
123throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.cs (1)
144throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
System.Threading.AccessControl (2)
System\Threading\EventWaitHandleAcl.cs (1)
100throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
System\Threading\MutexAcl.cs (1)
91throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
TypeScriptApiCompat (1)
AtsSurface.cs (1)
41throw new DirectoryNotFoundException($"Surface directory '{rootPath}' does not exist.");