Search found 80 matches
- Thu Jan 14, 2021 4:48 am
- Forum: PowerShell Studio
- Topic: The Startup.pps inconveniences and workaround
- Replies: 3
- Views: 237
Re: The Startup.pps inconveniences and workaround
Strange. For newly created project files, I don't have this issue. But for my current app project files, I do. Could it be the fact that the project live since 2017 and was upgraded to the 2018, 2019, and 2020 version of SAPIEN PowerShell?
- Wed Jan 13, 2021 10:04 am
- Forum: PowerShell Studio
- Topic: Old blog post about a new multi-thread Sapien 'Host'
- Replies: 2
- Views: 313
Re: Old blog post about a new multi-thread Sapien 'Host'
The main reason is how painful the usage of Jobs is, even with SAPIEN Job Tracker helpers (coping functions, weird syntax, code complexity and the ability to debug the code inside the job etc) compared to the c# Tasks usage. I would gladly accept the tradeoffs that you mention because those are comp...
- Wed Jan 13, 2021 4:44 am
- Forum: PowerShell Studio
- Topic: The Startup.pps inconveniences and workaround
- Replies: 3
- Views: 237
The Startup.pps inconveniences and workaround
Hi, The process of developing my code tends to get more and more inconvenient due to how Startup.pps and Main function are handled. The code of my app is launching differently depending on $Commandline having any value or not. The code inside the Startup.pps main function: if ($Commandline) { if ((S...
- Tue Jan 12, 2021 1:06 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 256
Re: Main function moved from Startup.pss to Globals.ps1
You are correct, one of the reasons why I posted here is to share the template so others might find it useful. I will open a more specific topic at the support section.
- Sun Jan 10, 2021 7:14 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 256
Re: Main function moved from Startup.pss to Globals.ps1
The motivation for such change is to improve how my code is handling things, not how it looks. The code of my app is launching differently depending on $Commandline having any value or not. The switch is inside the main function: if ($Commandline) { if ((Show-Form1_psf) -eq 'OK') { if ((Show-Form2_p...
- Sat Jan 09, 2021 11:54 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 256
Main function moved from Startup.pss to Globals.ps1
Hi, I didn't like the usage of Startup.pss so this is my attempt to move it to Globals.ps1 Can somebody check this and tell me if there won't be any problems with such an approach? Does scope of $script:ExitCode = 0 is correct? Globals.ps1: function Start-Main { <# .SYNOPSIS The Start-Main function ...
- Fri Jan 08, 2021 5:53 pm
- Forum: PowerShell Studio
- Topic: Old blog post about a new multi-thread Sapien 'Host'
- Replies: 2
- Views: 313
Old blog post about a new multi-thread Sapien 'Host'
Hi,
A long time ago I read your blog post about a new multithread Sapien 'Host' which would allow running PS code as multi-thread. I can't find it now but it was definitely there.
Can you give us an update regarding this matter?
A long time ago I read your blog post about a new multithread Sapien 'Host' which would allow running PS code as multi-thread. I can't find it now but it was definitely there.
Can you give us an update regarding this matter?
- Fri Jan 08, 2021 12:50 pm
- Forum: PowerShell Studio
- Topic: Can you give updates on WPF support?
- Replies: 1
- Views: 251
Can you give updates on WPF support?
Hi,
Can you give updates on WPF support? Is there any chances to get the support before summer?
Can you give updates on WPF support? Is there any chances to get the support before summer?
- Tue Dec 29, 2020 2:32 am
- Forum: PowerShell Studio
- Topic: CI/CD unattended installation - providing license details/offline key
- Replies: 11
- Views: 5740
Re: CI/CD unattended installation - providing license details/offline key
Thanks. Just to be sure, It's only about the build step. You can compare it to MSBuild and how it fits with the Visual Studio ecosystem.
- Mon Dec 28, 2020 8:53 am
- Forum: PowerShell Studio
- Topic: CI/CD unattended installation - providing license details/offline key
- Replies: 11
- Views: 5740
Re: CI/CD unattended installation - providing license details/offline key
First of all, please get to know about CI/CD concept https://github.com/features/actions One of the elements of CI/CD is the so-called 'build agents'. It's not publicly available VM, you can't even RDP to it as you can read from the documentation of the free, build in Microsoft agent which I linked ...