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.
User avatar
Posts: 14
Last visit: Mon Jan 10, 2022 3:43 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
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
Posts: 15052
Last visit: Wed Jan 26, 2022 2:55 pm
Answers: 17
Has voted: 3 times
Been upvoted: 13 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.