banyula
February 4, 2021, 10:39pm
1
Tool: PowerShell Module
Version: 5.7.2
I am trying to compile a PS1 into executable in Linux. I installed .net core SDK 3.1 and PWSH 7.1.1. Every time I run merge-module I get the error:
Merge-Script: Unable to find the specified file.
See console output below.
What am I doing wrong?
Please advise.
adam
February 8, 2021, 10:27pm
2
There were some issues with this running on Linux. I just fixed and validated them. I’ll release a new version shortly.
I just installed 5.7.3 and it is now compiling and running as expected in Linux, not in MacOS (see below). Thanks.
Adam, I have the same problem now in MacOS with the latest version 5.7.3. The error is similar to the one in Linux with 5.7.2. See below
I suppose the RuntimeIdentifier is “macos-x64” because I could not find any information about.
Please advise.
adam
February 9, 2021, 7:50pm
5
We don’t support Mac OS X compiling at the moment but I should be able to tweak it to get it to work. I’ll get that resolved and validated this week.
adam
February 9, 2021, 11:42pm
6
This was a pretty easy tweak. I got it running on Mac OSX: Packaging on Mac OSX - PowerShell Pro Tools
banyula
February 10, 2021, 2:17am
7
Thanks Adam, I tried already and worked perfectly in MacOS. It was a bit slow the first time it ran, but I supposed it was because of the initial compilation.