I have a parameter that I wish to enable as a drop down list. When I add the following to the parameters.xml file within a Web Deployment Tool package a drop down list appears:
<parameter name="SelectList" description="Select the value.">
<parameterValidation type="Enumeration" validationString="value1,value2" />
<parameterEntry kind="TextFile" scope="\\textfile.config$" match="PlaceHolderForSelectList" />
</parameter>
When this parameter is added to the Web Publishing Pipeline used by Visual Studio 2010 to create the package the following appears in the paramaters.xml file:
<parameter name="SelectList" description="Select the value." defaultValue="">
<parameterEntry kind="TextFile" scope="\\textfile.config$" match="PlaceHolderForSelectList" />
</parameter>
Notice that the <parameterValidation> element is not added.
The MsDeployDeclareParameters only seems to support the following:
<MsDeployDeclareParameters Include="ParameterName">
<Kind></Kind>
<Scope></Scope>
<Match></Match>
<Description></Description>
<DefaultValue></DefaultValue>
<Tags></Tags>
</MsDeployDeclareParameters>
So is there any way to add the parameterValidation entries?