51 references to DirectoryNotFoundException
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));
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
401throw new DirectoryNotFoundException(
Microsoft.AspNetCore.Http (1)
src\Http\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.DotNet.Helix.JobSender (1)
Payloads\DirectoryPayload.cs (1)
24throw new DirectoryNotFoundException($"The directory '{directory}' was not found.");
Microsoft.Extensions.Configuration.KeyPerFile (2)
KeyPerFileConfigurationProvider.cs (2)
71throw new DirectoryNotFoundException("A non-null file provider for the directory is required when this source is not optional."); 83throw new DirectoryNotFoundException("The root directory for the FileProvider doesn't exist and is not optional.");
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
66throw new DirectoryNotFoundException(Root);
Microsoft.ML.SamplesUtils (1)
SamplesDatasetUtils.cs (1)
34throw new DirectoryNotFoundException("Could not find the ML.NET repository");
PresentationCore (1)
MS\Internal\FontCache\FontCacheUtil.cs (1)
751throw new DirectoryNotFoundException(SR.Format(SR.DirectoryNotFoundExceptionWithFileName, fileName));
System.Drawing.Common (1)
System\Drawing\Image.cs (1)
398throw new DirectoryNotFoundException(SR.Format(SR.TargetDirectoryDoesNotExist, directoryPart, filename));
System.Formats.Tar (10)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System\Formats\Tar\TarFile.cs (8)
43throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName)); 82return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName))); 112throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName)); 148return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName))); 183throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName)); 228return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName))); 271throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName)); 318return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName)));
System.IO.Compression.ZipFile (2)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.FileSystem.Watcher (2)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (1)
363throw new DirectoryNotFoundException(SR.Format(SR.PathNotFound_Path, sourceDirectoryName));
System.IO.Ports (2)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
System.Private.CoreLib (8)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName);
src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
37return new DirectoryNotFoundException(
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (1)
164throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, FullName));
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
421throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath)); 457throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath));
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.cs (1)
123throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.cs (1)
144throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, name));
System.Windows.Forms.IntegrationTests.Common (3)
TestHelpers.cs (3)
109throw new DirectoryNotFoundException($"{dotnetPath} directory cannot be found."); 210throw new DirectoryNotFoundException($"dotnet sdk {dotnetVersion} is not installed globally"); 257throw new DirectoryNotFoundException($"No {seek} folder was found among siblings of subfolders of {codeBasePath}.");
Templates.Blazor.Tests (2)
BlazorTemplateTest.cs (1)
65throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
91throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
91throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
91throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
91throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
Templates.Tests (1)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
91throw new DirectoryNotFoundException($"Directory {subProjectDirectory} was not found.");
WinShimmer (1)
Program.cs (1)
37throw new DirectoryNotFoundException($"The specified output directory \"{outputDirectory}\" does not exist");