Invoke-MsBuild
Invoke-MsBuild copied to clipboard
BuildLogDirectoryPath fails if using PathDirectory on solution in same folder
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.