The $env:BHBuildOutput variable to have the same value as $PSBPreference.Build.ModuleOutDir
Current Behavior
In the Init() task a list of build variables is shown and BHBuildOutput points ot a $projectRoot\BuildOutput folder (so say powershellbuild\BuildOutput) which doesn't reflect what the $PSBPreference.Build.ModuleOutDir variable is set to.
Possible Solution
When calling Set-BuildEnvironment in the Initialize-PSBuild function, explicitly set the BuildOutput parameter.
Expected Behavior
The $env:BHBuildOutput variable to have the same value as $PSBPreference.Build.ModuleOutDir
Current Behavior
In the Init() task a list of build variables is shown and BHBuildOutput points ot a
$projectRoot\BuildOutput
folder (so saypowershellbuild\BuildOutput
) which doesn't reflect what the $PSBPreference.Build.ModuleOutDir variable is set to.Possible Solution
When calling
Set-BuildEnvironment
in theInitialize-PSBuild
function, explicitly set the BuildOutput parameter.