Powershell from-source build misses "ref" directory #19419
Labels
Area-Maintainers-Build
specific to affecting the build
Needs-Triage
The issue is new and needs to be triaged by a work group.


Prerequisites
Steps to reproduce
Looks like some packages have to have the
refdirectory in the powershell home(
$PSHOMEis set to/usr/share/pwsh-7.3).Here is an example of importing
PowerShellGet, this complains about missfingref.Here importing
PSDesiredStateConfigurationfails completely:Also the Alpine package seems to have similar
PSHOMEcontents, norefdirectory, see: https://pkgs.alpinelinux.org/contents?repo=community&page=1&arch=x86_64&branch=edge&name=powershellExpected behavior
Powershell build scripts copy or link to the location of required assemblies,
and so using those modules work.
Or use current runtime assemblies when the package is not "self-contained".
Actual behavior
While attempting to import
PSDesiredStateConfigurationit fails to import fully, see below error.Error details
While importing
PSDesiredStateConfiguration:Environment data
And the runtime:
The text was updated successfully, but these errors were encountered: