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.
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 (82.98 KiB) Viewed 3284 times
If I run this code with Powershell 7 - error
Screenshot 2022-08-25 215306.png (101.44 KiB) Viewed 3284 times
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 (90.44 KiB) Viewed 3284 times
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.