我在配置中有章鱼变量。我想将章鱼变量#{HostName-test-site}与"preview-"字符串连接起来
如果我在配置中尝试以下
<site name="testSite" hostName="preview-#{HostName-test-site}" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
这会起作用还是有其他方法可以将章鱼变量与字符串连接起来?
我在配置中有章鱼变量。我想将章鱼变量#{HostName-test-site}与"preview-"字符串连接起来
如果我在配置中尝试以下
<site name="testSite" hostName="preview-#{HostName-test-site}" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
这会起作用还是有其他方法可以将章鱼变量与字符串连接起来?