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