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.
Locked
User avatar
DWASdeveloper
Posts: 14
Last visit: Wed Nov 17, 2021 6:21 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: 14991
Last visit: Tue Dec 07, 2021 3:06 pm
Answers: 15
Has voted: 3 times
Been upvoted: 12 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.

Locked