Cake.PathTildeHelper

Cake add-in to provide aliases to help translate tilde (~) characters to absolute paths usable in locations requiring a full path.

#addin nuget:?package=Cake.PathTildeHelper&version=5.0.0

dotnet add package Cake.PathTildeHelper --version 5.0.0

<PackageReference Include="Cake.PathTildeHelper" Version="5.0.0" />

Aliases

Path tilde (~) helpers. An alias for Cake Build to help translate leading tilde (~) characters into paths with the current user.

General

PathReplaceTilde(DirectoryPath) Creates a path string with any leading tilde (~) character, used to denote the current user path, replaced with the absolute path to the current user's directory.
PathReplaceTilde(FilePath) Creates a path string with any leading tilde (~) character, used to denote the current user path, replaced with the absolute path to the current user's directory.