Skip to content

BuildLogDirectoryPath fails if using PathDirectory on solution in same folder #40

@Tdue21

Description

@Tdue21

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions