SAPIENCommandLine.exe | Error: Unable to determine build settings.

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 11 months and 1 day old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
diersing
Posts: 2
Last visit: Tue Sep 05, 2023 12:10 pm
Has voted: 2 times

SAPIENCommandLine.exe | Error: Unable to determine build settings.

Post by diersing »

PowerShell Studio 2023 (5.8.221)
Windows Server 2019
PS 5.1
64bit

I've used PowerShell Studio 2023 to create a deployment packaged EXE. The EXE works as expected and I'm adding this our to CI/CD pipeline using the SAPIENCommandLine.exe tool.

When I run SAPIENCommandLine.exe /BUILDEXE <PATH>\script.ps1.psbuild, I get Error: Unable to determine build settings.
Screenshot 2023-04-27 at 10.45.14 AM.png
Screenshot 2023-04-27 at 10.45.14 AM.png (231.8 KiB) Viewed 1686 times

I've verified the psbuild has my package's settings. Is there a step I'm missing?
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 7:24 am
Answers: 39
Been upvoted: 30 times

Re: SAPIENCommandLine.exe | Error: Unable to determine build settings.

Post by brittneyr »

When using SAPIENCommandLine.exe, you need to specify a ps1, psf, or project file. The psbuild file only needs to be in the same directory but does not need to be passed directly.
Brittney
SAPIEN Technologies, Inc.
This topic is 11 months and 1 day old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.