From 240cf462ccb9422a2d2eea47b3ab50cf95b1e9e5 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Tue, 25 Aug 2026 10:30:33 -0500 Subject: [PATCH] Revise temp path handling in README Updated README to reflect changes in handling temporary paths with TaskEnvironment. --- src/TaskAnalyzer/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TaskAnalyzer/README.md b/src/TaskAnalyzer/README.md index d4e3cc2f511..466a36f8705 100644 --- a/src/TaskAnalyzer/README.md +++ b/src/TaskAnalyzer/README.md @@ -57,8 +57,8 @@ These APIs access process-global state that varies per task in multithreaded mod | `Environment.ExpandEnvironmentVariables()` | Use `TaskEnvironment.GetEnvironmentVariable()` per variable | | `Environment.GetFolderPath()` | Use `TaskEnvironment.GetEnvironmentVariable()` | | `Path.GetFullPath()` | `TaskEnvironment.GetAbsolutePath()` | -| `Path.GetTempPath()` | `TaskEnvironment.GetEnvironmentVariable("TMP")` | -| `Path.GetTempFileName()` | `TaskEnvironment.GetEnvironmentVariable("TMP")` | +| `Path.GetTempPath()` | No good workaround until https://github.com/dotnet/msbuild/issues/14583 is resolved. | +| `Path.GetTempFileName()` | No good workaround until https://github.com/dotnet/msbuild/issues/14583 is resolved. | | `Process.Start()` (all overloads) | `TaskEnvironment.GetProcessStartInfo()` | | `new ProcessStartInfo()` (all overloads) | `TaskEnvironment.GetProcessStartInfo()` |