开发者

vs2010 breaks the content of parameters.xml

开发者 https://www.devze.com 2023-02-17 23:31 出处:网络
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=\"\" &g开发者_Python百科t;

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="" &g开发者_Python百科t;
    <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 ?


IIS supports two schemes:

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

VS supports only first one

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号