29 references to AppendAllText
aspire (10)
Agents\DeprecatedMcpCommandScanner.cs (10)
46File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] Scanning context.RepositoryRoot: {context.RepositoryRoot.FullName}\n"); 51File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] Checking {location.AgentName}: {configPath}\n"); 55File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> File does not exist\n"); 59File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> File EXISTS!\n"); 64File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> Content: {content.Substring(0, Math.Min(200, content.Length))}\n"); 69File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> JSON parse returned null\n"); 74File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> HasDeprecatedMcpCommand: {hasDeprecated}\n"); 83File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> Added applicator\n"); 88File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> JsonException: {ex.Message}\n"); 93File.AppendAllText(debugPath, $"[{DateTime.UtcNow:O}] -> IOException: {ex.Message}\n");
Aspire.Deployment.EndToEnd.Tests (3)
Helpers\DeploymentReporter.cs (3)
66File.AppendAllText(summaryPath, sb.ToString()); 135File.AppendAllText(summaryPath, sb.ToString()); 178File.AppendAllText(summaryPath, sb.ToString());
Aspire.Hosting.Java.Tests (1)
AddJavaAppPublishTests.cs (1)
1531File.AppendAllText(
Aspire.Hosting.Tests (1)
Dcp\KubernetesServiceTests.cs (1)
208File.AppendAllText(path, string.Format(CultureInfo.InvariantCulture, """
dotnet-suggest (1)
Program.cs (1)
38File.AppendAllText(logFile, string.Join("|", args) + Environment.NewLine);
Microsoft.Build (3)
Evaluation\Expander\WellKnownFunctions.cs (1)
44File.AppendAllText(logFile, $"ReceiverType={receiverType?.FullName}; ObjectInstanceType={objectInstance?.GetType().FullName}; MethodName={methodName}({argSignature})\n");
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (2)
28File.AppendAllText(file, CsvFormat(string.Empty, callsite, args)); 33File.AppendAllText(errorFile, $"{SimpleFormat(id, callsite, args)}\n{e.Message}\n{e.StackTrace}");
Microsoft.Build.Tasks.Core (2)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (2)
28File.AppendAllText(file, CsvFormat(string.Empty, callsite, args)); 33File.AppendAllText(errorFile, $"{SimpleFormat(id, callsite, args)}\n{e.Message}\n{e.StackTrace}");
Microsoft.Build.Utilities.Core (3)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (2)
28File.AppendAllText(file, CsvFormat(string.Empty, callsite, args)); 33File.AppendAllText(errorFile, $"{SimpleFormat(id, callsite, args)}\n{e.Message}\n{e.StackTrace}");
ToolTask.cs (1)
1526File.AppendAllText(_temporaryBatchFile, "#!/bin/sh\n"); // first line for UNIX is ANSI
MSBuild (2)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (2)
28File.AppendAllText(file, CsvFormat(string.Empty, callsite, args)); 33File.AppendAllText(errorFile, $"{SimpleFormat(id, callsite, args)}\n{e.Message}\n{e.StackTrace}");
SelectTests (2)
Program.cs (2)
543File.AppendAllText(summaryPath, markdown); 1179File.AppendAllText(summaryPath, markdown);
System.Diagnostics.TraceSource (1)
System\Diagnostics\DefaultTraceListener.cs (1)
165File.AppendAllText(LogFileName!, message);