Invoke-MsBuild icon indicating copy to clipboard operation
Invoke-MsBuild copied to clipboard

BuildLogDirectoryPath fails if using PathDirectory on solution in same folder

Open Tdue21 opened this issue 5 years ago • 0 comments

If I have my build script in the same folder as the solution and call Invoke-MSBuild with

-BuildLogDirectoryPath "PathDirectory"

an error occurs here (line 295): if ($BuildLogDirectoryPath.Equals("PathDirectory", [System.StringComparison]::InvariantCultureIgnoreCase)) { $BuildLogDirectoryPath = [System.IO.Path]::GetDirectoryName($Path) }

As $Path do not contain a directory.

Tdue21 avatar Aug 30 '18 12:08 Tdue21