- changed status to resolved
Unable to cast object of type 'System.Management.Automation.Language.ConstantExpressionAst' to type 'System.Management.Automation.Language.StringConstantExpressionAst'
Issue #9
resolved
Hello, using tools version 3.0.399. When I attempt to debug my script by invoking 'Execute as Script with Parameters' I receive the following exception:
"Unable to cast object of type 'System.Management.Automation.Language.ConstantExpressionAst' to type 'System.Management.Automation.Language.StringConstantExpressionAst'"
The offending parameter appears to be :
[Parameter(Mandatory=$true)]
**[ValidateSet( 128, 512, 1023 )]**
[int]$dataDiskSizeGB,
Comments (1)
-
reporter - Log in to comment
Fixes
#9→ <<cset 30db29be1ff7>>