PowerShell 7 WPF and PowerShell Studio 2022 (64 Bit) 5.8.209

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 1 year and 6 months 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.
justdjbest
Posts: 8
Last visit: Sat Sep 17, 2022 11:22 am

PowerShell 7 WPF and PowerShell Studio 2022 (64 Bit) 5.8.209

Post by justdjbest »

Product, version and build: PowerShell Studio 2022 (64 Bit) v5.8.209
Operating system: Windows 11
PowerShell version(s): 5.1.22621.436 and 7.0.11 / 7.4

simple code with WPF form with Powershell Studio

If I run this code with Powershell 5 - it's ok
Screenshot 2022-08-25 215402.png
Screenshot 2022-08-25 215402.png (82.98 KiB) Viewed 3285 times


If I run this code with Powershell 7 - error
Screenshot 2022-08-25 215306.png
Screenshot 2022-08-25 215306.png (101.44 KiB) Viewed 3285 times

Code: Select all

ERROR: MethodInvocationException: F:\Repos\PowerShell Studio\Files\test.ps1:12
ERROR: Line |
ERROR:   12 |  $window.ShowDialog()
ERROR:      |  ~~~~~~~~~~~~~~~~~~~~
ERROR:      | Exception calling "ShowDialog" with "0" argument(s): "Unable to load DLL 'wpfgfx_cor3.dll' or one of its dependencies:
ERROR:      | The specified module could not be found. (0x8007007E)"


BUT if I run it from console - it's ok
Screenshot 2022-08-25 215633.png
Screenshot 2022-08-25 215633.png (90.44 KiB) Viewed 3285 times
How it could be? O_o
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: PowerShell 7 WPF and PowerShell Studio 2022 (64 Bit) 5.8.209

Post by brittneyr »

We are looking into this and will get back to you soon.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: PowerShell 7 WPF and PowerShell Studio 2022 (64 Bit) 5.8.209

Post by brittneyr »

Please try build 5.8.210 and let me know if you are still experiencing this issue.
Brittney
SAPIEN Technologies, Inc.
This topic is 1 year and 6 months 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.