2 writes to _temporaryBatchFile
Microsoft.Build.Utilities.Core (2)
ToolTask.cs (2)
1426_temporaryBatchFile = FileUtilities.GetTemporaryFile(".cmd"); 1433_temporaryBatchFile = FileUtilities.GetTemporaryFile(".sh");
10 references to _temporaryBatchFile
Microsoft.Build.Utilities.Core (10)
ToolTask.cs (10)
1439File.AppendAllText(_temporaryBatchFile, "#!/bin/sh\n"); // first line for UNIX is ANSI 1441File.AppendAllText(_temporaryBatchFile, AdjustCommandsForOperatingSystem(commandLineCommands), EncodingUtilities.CurrentSystemOemEncoding); 1443commandLineCommands = $"\"{_temporaryBatchFile}\""; 1455encoding = EncodingUtilities.BatchFileEncoding(commandLineCommands + _temporaryBatchFile, UseUtf8Encoding); 1463File.AppendAllText(_temporaryBatchFile, 1469File.AppendAllText(_temporaryBatchFile, commandLineCommands, encoding); 1475string batchFileForCommandLine = _temporaryBatchFile; 1632if (_temporaryBatchFile != null && FileSystems.Default.FileExists(_temporaryBatchFile)) 1634DeleteTempFile(_temporaryBatchFile);