Search found 112 matches
- Tue Mar 09, 2021 6:02 am
- Forum: Feedback
- Topic: Packaging scripts for PowerShell 7 and .NET Core - feedback
- Replies: 14
- Views: 31084
Re: Packaging scripts for PowerShell 7 and .NET Core - feedback
After reading this thread again I notice that there was an emphasis on the "business cases" but I would like to start with clarification about some previous statements. The feature of 'linking all referenced assemblies into one executable' exists for NET Framework like Fody>Costura. It was...
- Thu Feb 11, 2021 2:35 am
- Forum: PowerShell Studio
- Topic: Loading of extra types via using is broken
- Replies: 11
- Views: 17465
Re: Loading of extra types via using is broken
It's fixed, thank you.
- Thu Jan 14, 2021 3:48 am
- Forum: PowerShell Studio
- Topic: The Startup.pps inconveniences and workaround
- Replies: 3
- Views: 1590
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 9:04 am
- Forum: PowerShell Studio
- Topic: Old blog post about a new multi-thread Sapien 'Host'
- Replies: 2
- Views: 1498
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 3:44 am
- Forum: PowerShell Studio
- Topic: The Startup.pps inconveniences and workaround
- Replies: 3
- Views: 1590
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 12:06 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 1906
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 6:14 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 1906
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 10:54 am
- Forum: PowerShell GUIs
- Topic: Main function moved from Startup.pss to Globals.ps1
- Replies: 5
- Views: 1906
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 4:53 pm
- Forum: PowerShell Studio
- Topic: Old blog post about a new multi-thread Sapien 'Host'
- Replies: 2
- Views: 1498
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 11:50 am
- Forum: PowerShell Studio
- Topic: Can you give updates on WPF support?
- Replies: 1
- Views: 1146
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?