0

我在配置中有章鱼变量。我想将章​​鱼变量#{HostName-test-site}"preview-"字符串连接起来

如果我在配置中尝试以下

 <site name="testSite" hostName="preview-#{HostName-test-site}" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />

这会起作用还是有其他方法可以将章鱼变量与字符串连接起来?

4

1 回答 1

0

如果您在步骤中启用模板中的替换变量功能,这将起作用。

于 2021-01-21T21:53:59.170 回答