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=3.0.1

<package id="Cake.PathTildeHelper" version="3.0.1" />

dotnet add package Cake.PathTildeHelper --version 3.0.1

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

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.