10 references to WindowsTrayLog
Aspire.Tray.Tests (10)
src\Aspire.Tray\Windows\WindowsTrayLauncher.cs (2)
35WindowsTrayLog.EnsureWritable(); 49$"The Windows tray did not acknowledge startup. See {WindowsTrayLog.LogPath}. {ex.Message}", ex);
WindowsTrayLogTests.cs (8)
21using (var first = WindowsTrayLog.OpenLog(path)) 25using (var second = WindowsTrayLog.OpenLog(path)) 64Assert.Throws<IOException>(() => WindowsTrayLog.OpenLog(Path.Combine(root, Path.Combine(components)))); 83Assert.Throws<IOException>(() => WindowsTrayLog.OpenLog(path)); 99Assert.Throws<IOException>(() => WindowsTrayLog.OpenLog(path)); 109using (var handle = WindowsTrayLog.OpenDirectory(path)) 124using (var handle = WindowsTrayLog.OpenDirectory(path)) 143using (var stream = WindowsTrayLog.OpenLog(path))