2 writes to DiagnosticsMessageSink
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
97DiagnosticsMessageSink = project.DiagnosticsMessageSink,
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
47DiagnosticsMessageSink = DiagnosticsMessageSink,
3 references to DiagnosticsMessageSink
Templates.Mvc.Tests (3)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
97DiagnosticsMessageSink = project.DiagnosticsMessageSink,
src\ProjectTemplates\Shared\Project.cs (2)
447DiagnosticsMessageSink.OnMessage(new DiagnosticMessage($"Failed to delete directory {TemplateOutputDir} because of error {ex.Message}. Will try again {numAttemptsRemaining - 1} more time(s).")); 452DiagnosticsMessageSink.OnMessage(new DiagnosticMessage($"Giving up trying to delete directory {TemplateOutputDir} after {NumAttempts} attempts. Most recent error was: {ex.StackTrace}"));