Search code examples
visual-studio-2010parametersmsdeploy

vs2010 breaks the content of parameters.xml


I've got the file Parameters.xml that contains the following

<parameter name="Identity Suffix" description="Suffix of the identity services of the environment"   tags="" >
    <parameterEntry kind="TextFile" scope="\\web.config$" match="__IDENTITY_SUFFIX__"/>
    <parameterValidation type="AllowEmpty" /> 
</parameter>

After I run Build deployment package the output file does not contains any parameterValidation and I have to edit the file manually. How to fix this behavior ?


Solution

  • IIS supports two schemes:

    <parameterValidation kind="AllowEmpty" />
    <parameterValidation type="AllowEmpty" />
    

    VS supports only first one