You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to specify a non-default path for $PSBPreference.Test.RootDir in the psakeBuild.ps1 file. It doesn't appear that the $projectRoot variable is being populated before the Properties block is instantiated.
I can see that the $BHProjectPath is populated at runtime, and $projectRoot is being derived from this value.
But if I output the value of $projectRoot during runtime, from inside the Properties block, it is empty.
Could you take a look and see if I am correct about the timing issue above?
The text was updated successfully, but these errors were encountered:
I am trying to specify a non-default path for
$PSBPreference.Test.RootDir
in thepsakeBuild.ps1
file. It doesn't appear that the$projectRoot
variable is being populated before theProperties
block is instantiated.I can see that the
$BHProjectPath
is populated at runtime, and$projectRoot
is being derived from this value.But if I output the value of $projectRoot during runtime, from inside the
Properties
block, it is empty.Could you take a look and see if I am correct about the timing issue above?
The text was updated successfully, but these errors were encountered: