40 references to FileNotFoundException
Aspire.Hosting (3)
ApplicationModel\AspireStoreExtensions.cs (1)
27throw new FileNotFoundException("The source file does not exist.", sourceFilename);
Dcp\DcpDependencyCheck.cs (1)
47throw new FileNotFoundException($"The Aspire orchestration component is not installed at \"{dcpPath}\". The application cannot be run without it.", dcpPath);
Dcp\DcpHost.cs (1)
174throw new FileNotFoundException($"The Developer Control Plane is not installed at \"{dcpExePath}\". The application cannot be run without it.", dcpExePath);
Aspire.RuntimeIdentifier.Tool (1)
Program.cs (1)
51throw new FileNotFoundException("File {0} does not exist. Please ensure the runtime graph path exists.", rgp);
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
AnalyzerTestBase.cs (1)
24throw new FileNotFoundException($"TestFile {source} could not be found at {filePath}.", filePath);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
AnalyzerTestBase.cs (1)
24throw new FileNotFoundException($"TestFile {source} could not be found at {filePath}.", filePath);
Microsoft.AspNetCore.Http.Results (2)
PhysicalFileHttpResult.cs (1)
115throw new FileNotFoundException($"Could not find file: {FileName}", FileName);
VirtualFileHttpResult.cs (1)
111throw new FileNotFoundException($"Could not find file: {FileName}.", FileName);
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\PhysicalFileResultExecutor.cs (1)
34throw new FileNotFoundException(
Infrastructure\VirtualFileResultExecutor.cs (1)
42throw new FileNotFoundException(
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployerBase.cs (1)
102throw new FileNotFoundException("AspNetCoreModuleV2 could not be found.", ancmFile);
Microsoft.Build.Tasks.Core (2)
ManifestUtil\Manifest.cs (1)
491throw new FileNotFoundException(null, f.SourcePath);
ManifestUtil\SecurityUtil.cs (1)
663throw new FileNotFoundException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SignTargetNotFound"), path), path);
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\SigningTestHelpers.cs (1)
121throw new FileNotFoundException("File not found", fullPath);
Microsoft.DotNet.Build.Tasks.Workloads (1)
CreateVisualStudioWorkload.wix.cs (1)
243throw new FileNotFoundException(message: "NuGet package not found", fileName: sourcePackage);
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolUploadHelperFactory.cs (1)
80throw new FileNotFoundException("Symbol tool not found", expectedSymbolPath);
Microsoft.DotNet.XliffTasks (1)
Tasks\XlfTask.cs (1)
84throw new FileNotFoundException($"File not found: {path}", path);
Microsoft.Maui.Resizetizer (2)
ResizeImageInfo.cs (2)
83 throw new FileNotFoundException("Unable to find background file: " + fileInfo.FullName, fileInfo.FullName); 122 throw new FileNotFoundException("Unable to find foreground file: " + fgFileInfo.FullName, fgFileInfo.FullName);
Mvc.Api.Analyzers.Test (1)
Infrastructure\MvcTestSource.cs (1)
18throw new FileNotFoundException($"TestFile {testMethod} could not be found at {filePath}.", filePath);
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (1)
748throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, fileName), fileName);
System\Windows\Media\ColorContext.cs (1)
529throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, profileUri.AbsolutePath), profileUri.AbsolutePath);
System.Console (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
22throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, _fileName), _fileName);
System.Formats.Tar (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.Pipes (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.IO.Ports (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
System.Private.CoreLib (6)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) :
src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
34return new FileNotFoundException(
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (1)
1057throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, fullSourceFileName), fullSourceFileName);
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (2)
40throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, FullPath), FullPath); 167throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, FullName), FullName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
292throw new FileNotFoundException(SR.Format(SR.FileNotFound_LoadFile, normalizedPath), normalizedPath);
System.Private.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
211throw new FileNotFoundException(null, serializerName);
System.Windows.Forms.IntegrationTests.Common (2)
TestHelpers.cs (2)
63throw new FileNotFoundException("File does not exist", exePath); 83throw new FileNotFoundException("File does not exist", path);