SAPIENTypes.SAPIENColorTable Runtime Issue

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years 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.
Locked
User avatar
DWASdeveloper
Posts: 14
Last visit: Tue Nov 15, 2022 2:17 pm

SAPIENTypes.SAPIENColorTable Runtime Issue

Post by DWASdeveloper »

Need some help understanding how to fix this issue re System.Runtime.dll Path error
No issues when running this where Sapien PStudio is Installed... On exe run devices get the below error

Error Exception Occurred
Set-ControlTheme()
Review Logfile Error Message Details
Could not find a part of the path 'C:\Program Files\Microsoft Services\Azure Cloud Toolkit\ref\System.Runtime.dll'.
Error Caused By: Add-Type -ReferencedAssemblies $assemblies -TypeDefinition @'
Line: 1642
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: SAPIENTypes.SAPIENColorTable Runtime Issue

Post by jvierra »

If it is not installed on the PC then you will not be able to load it.
This topic is 2 years 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.
Locked