JetBrains/meta-runner-power-pack

GitVersion: Join-Path not recognized

cmckni3 opened this issue · 2 comments

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%"),

Could be a powershell version issue. I'm currently running version 3.

Upgrading to powershell 5 fixed the issue