-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGet package missing macOS executable #24663
Comments
Said package is meant to be installed with Invoked as such - by name only via However, there is a problematic aspect, after all:
|
Thanks for the explanation about the intended usage and installation. However, as #12205 shows and as mentioned in the error details, there is no macOS executable in the NuGet whatsoever. The "unix" executable is on the ELF (Executable Linux File) format. |
When you install PowerShell as a .NET tool globally, a macOS executable is placed in You can verify this with #12205 is about the value of |
My understanding is that when run as a dotnet tool is uses the pwsh.dll rather than pwsh. Where this fails is when you try and run pwsh from the PATH with a script run by the powershell tool. What is more important is that the libSystem.IO.Ports.Native.dylib, libSystem.IO.Ports.Native.so, libpsl-native.dylib and libpsl-native.so exist under the correct runtimes tree. So pwsh.dll is not CPU specific but the lib*.so and lib*.dylib are. |
Prerequisites
Steps to reproduce
https://www.nuget.org/packages/PowerShell/7.4.6
Expected behavior
Actual behavior
Error details
The only non-windows
pwsh
executable is linux-only.The "Mach-O" executable is missing in the NuGet package.
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: