実際、私は xtd-transform についてあまり知識がありません。私のxdtファイルに必要なもの:
<add key="EndpointName" value="SomeValue" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)" />
私がpowershellで行っている日常的な作業:
$cache.SetAttribute("key","EndpointName")
$cache.SetAttribute("value","SomeValue")
$cache.SetAttribute("xdt:Transform","SetAttributes(value)")
$cache.SetAttribute("xdt:Locator","Match(key)")
そして、ここに私が持っているものがあります。私のポイントと一致しないでください:
<add key="EndpointName" value="Email" Transform="SetAttributes(value)" Locator="Match(key)" />
それでは、powershell スクリプトを使用して xdt:attribute を作成することは可能ですか?
みんなありがとう!