TaskEnvironment.GetTempPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the temporary folder path for this task environment.
public:
Microsoft::Build::Framework::AbsolutePath GetTempPath();
public Microsoft.Build.Framework.AbsolutePath GetTempPath();
member this.GetTempPath : unit -> Microsoft.Build.Framework.AbsolutePath
Public Function GetTempPath () As AbsolutePath
Returns
The absolute temporary folder path, ending with a directory separator.
Remarks
In multithreaded mode, this method resolves environment variables from the task-local environment. The fallback environment uses the process environment. This method does not verify that the path exists or that it is accessible.