Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

msdeploy and setparameters.xml

$
0
0

 

I'm having issue with the SetParameters.xml file used by msdeploy.

In my website I've created a parameters.xml file which contains the following:

<parameters>
   
<parameter name="enableRule" defaultValue="DoNotDeleteRule"></parameter>
</parameters>

During the build of the deployment package, this parameter is added to the setParameters.xml file, which then looks like:

<parameters>
 
<setParameter name="IIS Web Application Name" value="mywebsite/myservice/>
 
<setParameter name="enableRule" value="DoNotDeleteRule" />
</parameters>

Yet, when I run msdeploy (using the cmd of the package), the parameter is ignored. I've tried calling the cmd by adding the -setParamFile attribute, but that didn't make any difference...

Can someone help me with this ?


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>