GitVersion: Join-Path not recognized
cmckni3 opened this issue · 2 comments
cmckni3 commented
Error message is as follows. I'm using MR_GitVersion3.xml.
The term 'Join-Path' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Seemingly relative line:
[string] $workingDir = (Join-Path "%teamcity.build.workingDir%" "%mr.GitVersion.gitCheckoutDir%"),
cmckni3 commented
Could be a powershell version issue. I'm currently running version 3.
cmckni3 commented
Upgrading to powershell 5 fixed the issue