Page 1 of 1

Command line compile of Windows Forms projects

Posted: Wed Dec 16, 2020 9:58 am
by dwknight
Product, version and build: PowerShell Studio 2020, Version 5.7.182
Operating system: Windows 10, Server 2016, Server 2019
PowerShell version(s): 5.1

I've seen the documentation on using the psbuild command line (https://www.sapien.com/blog/2014/04/21/ ... 14-part-4/), and the discussion that this cannot work for Windows Forms projects (viewtopic.php?t=14316). It is critical to our corporate CI/CD process that I be able to do a command-line compile of a windows forms project. The discussion forum topics on this refer to this being on your TODO list 4 years back, but it still doesn't work. Any chance we can get this prioritized?

Re: Command line compile of Windows Forms projects

Posted: Wed Dec 16, 2020 11:44 am
by brittneyr
With the latest service release (5.7.182), there is no way to build a form from the command line.

As we have now received multiple requests for this, we have been working on a solution to build a project or form from the command line. This has been added in the next service release of PowerShell Studio which will be released sometime after the holidays.

Re: Command line compile of Windows Forms projects

Posted: Wed Dec 16, 2020 1:40 pm
by dwknight
Thanks Brittney. I'm so happy to hear that. Looking forward to the new capability. :D