-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Description
When debugging a script that contains a Color type it throws an error.
Example is using New-SlackMessageAttachment -Color $([System.Drawing.Color]::red)
Unable to find type [System.Drawing.Color].
+ New-SlackMessageAttachment -Color $([System.Drawing.Color]::red) `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Drawing.Color:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
Unable to find type [System.Drawing.Color].
+ ... SlackMessageAttachment -Color $([System.Drawing.Color]::LightGreen) `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Drawing.Color:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
Metadata
Metadata
Assignees
Labels
No labels