Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tdue21 opened this issue Aug 30, 2018 · 0 comments
Labels

Comments

@Tdue21
Copy link
Contributor

Tdue21 commented Aug 30, 2018

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.

@deadlydog deadlydog added the bug label Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants