BizTalk 部署框架解决方案部署重新启动所有主机实例

BizTalk Deployment Framework Solution Deployment Restarts all Host instances

当我使用 BTDF 部署我的解决方案时,所有主机实例都将重新启动,而我只需要 3 个来为这个 BT 应用程序重新启动。

我在 SettingFileGenerator.xml 文件中确定了 3 台主机(SendHost、ReceiveHost 和 ProcessingHost),这是我在 Deployment.btdfproj 文件中的设置:

    <SkipHostInstancesRestart>False</SkipHostInstancesRestart>
<StartApplicationOnDeploy>True</StartApplicationOnDeploy>
<ItemGroup>
    <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup;SendHost;ReceiveHost;ProcessingHost"/>
</ItemGroup>
<ItemGroup>
    <BizTalkHosts Include="$(SendHost);$(ReceiveHost);$(ProcessingHost)" />
</ItemGroup>

还有什么我想阻止所有主机实例重新启动的吗?

来自 BTDF documentation

BizTalk Host names to restart

The BizTalkHosts ItemGroup is appropriate for the names of one or more BizTalk hosts that should be restarted during the deployment and undeployment processes.

<ItemGroup>   
 <BizTalkHosts Include="MyHostName" />    
</ItemGroup>

Include attribute: BizTalk host name
Repeating: 1 or more elements

所以应该是

<ItemGroup>   
 <BizTalkHosts Include="SendHost" />    
 <BizTalkHosts Include="ReceiveHost" /> 
 <BizTalkHosts Include="ProcessingHost" /> 
</ItemGroup>