7 references to RequireExistingFile
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\CliAppHostCommands.cs (1)
39var path = TrayAppHostPath.RequireExistingFile(appHostPath);
src\Aspire.Tray\Common\TrayController.cs (2)
214TrayAppHostPath.RequireExistingFile(path); 411TrayAppHostPath.RequireExistingFile(path);
src\Aspire.Tray\Linux\LinuxFileManager.cs (1)
15path = TrayAppHostPath.RequireExistingFile(path);
src\Aspire.Tray\Linux\LinuxTrayApplication.cs (1)
559TrayAppHostPath.RequireExistingFile(path);
TraySavedStateTests.cs (2)
255Assert.Equal(link, TrayAppHostPath.RequireExistingFile(link)); 258Assert.Throws<FileNotFoundException>(() => TrayAppHostPath.RequireExistingFile(link));