MsDeploy TextFile provider
<p>We are using MsDeploy with Manifest provider, and declareParamFile and setParamFiles.
We would like to replace the string below in a packaged 'runDeploy.cmd' file:
<code>'SET SrvrName=Dev-ServerName'</code> (w/o the quotes) .
SO the DeclareParam.xml file has param entry as below</p>

<pre><code>&lt;parameter name="DbServer" defaultValue="Prod-Server" &gt;
    &lt;parameterEntry kind="textFile" scope="runDeploy\.cmd$" match="Dev-ServerName" /&gt;
&lt;/parameter&gt;
</code></pre>

<p>However, the error that we get is 
Parameter entry 'DbServer/2' could not be applied to 'C:\Src\bld\runDeploy.cmd'. Deployment will continue with the original data. Details:&#xD;&#xA;No matches were found for the search string 'Dev-ServerName' (type 'TextFile')."
Not sure what is the issue with the plain text here. I have also tried various regex but did not work. Any hints what is wrong?</p>

<p>Thanks
Yatin</p>