Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Merge pull request #114 from ArtWDrahn/patch-3

Update cDscResourceDesigner.psm1
  • Loading branch information...
dlwyatt committed Apr 15, 2015
2 parents a38ecd2 + ae4c109 commit 88d0390e1cafb9772c3214fb8717a95f1e16b44e
Showing with 3 additions and 0 deletions.
  1. +3 −0 Tooling/cDscResourceDesigner/cDscResourceDesigner.psm1
@@ -347,6 +347,9 @@ function New-cDscResourceProperty

if ($ValidateSet -and ((Test-TypeIsArray $Type) -or $EmbeddedInstances.ContainsKey($Type)))
# No Documentation currently exists on why ValidateSet does not work.
# The Community has tested this and confirmed this an invalidate usage.
# Please see
Write-Error ($localizedData.InvalidValidateSetUsageError) `
-ErrorId "InvalidValidateSetUsageError" -ErrorAction Stop

0 comments on commit 88d0390

Please sign in to comment.
You can’t perform that action at this time.