Hello,
I am trying to take advantage of this new feature to give an XML parameter a Default Value from another xml file (in the package being deployed).
I understood that the DefaultValue path is a relative path to wherever Web Deploy is running on the destination.
And indeed, if I take this example :
<parameters><parameter name="MyTestParam" description="Test Param" defaultValue="\default.config:://add[@key='test']"><parameterEntry kind="XmlFile" scope="web\.config" match="//add[@key='test']" /></parameter></parameters> http://forums.iis.net/t/1192891.aspx/1
it works if default.config is located at the root folder of the destination (c:\).
I still don't understand how to get the default value from a file in a package being deployed as shown in this example:
<parametername="Replacement Param"defaultValue="\web.config:://connectionStrings">”<parameterEntrykind="XMLFILE"scope="web\.config$"match="//connectionStrings"/></parameter><div></div> <div>What path should be given to the DefaultValue to point to the package itself?</div> <div>Any help would be greatly appreciated</div>
http://www.iis.net/learn/publish/using-web-deploy/parameterization-improvements-in-web-deploy-v3#author-info
Bri