-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Expected Behavior
When setting $PSBPreference.Build.OutDir I expect the Output Directory specified to be used but it is not.
Current Behavior
Instead of the value of $PSBPreference.Build.OutDir being used as the Output Directory, "$projectRoot/Output" is used.
Possible Solution
The problem is two fold:
- The docs state that the module output directory can be changed using $PSBPreference.Build.OutDir;
- The code says that the actual variable to be used should be $BuildEnvironment.Build.ModuleOutDir ($BuildEnvironment in this case is actually $PSBPreference)
There needs to be an agreement on which of the above is correct - the docs or the code. Once that's known we can change the other one.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request