VisualStudioHostRestart (Application Deployment Sample)

This topic explains how to use the VisualStudioHostRestart sample script to restart a host instance running under BizTalk Server on the local computer. You can use this script when redeploying assemblies in Visual Studio so that the BizTalk Server runtime immediately picks up the changes. Alternatively, you can use the option to restart host instances, which you can set in Deployment properties for the project. For more information, see How to Set Deployment Properties in Visual Studio.

What This Sample Does

This sample script performs the following actions, in order:

  1. Stops all in-process host instances on the local computer.

  2. Starts all in-process host instances on the local computer.

Where to Find This Sample

The sample is located in the BizTalk Server installation folder, as follows: <Samples path>\Application Deployment\VisualStudioHostRestart.

The sample includes the following file:

  • RestartBizTalkHostInstances.vbs

How to Use This Sample

Use the following procedures to run this sample.

To run the sample

  • Run RestartBizTalkHostInstances.vbs.

See Also

Application Deployment (BizTalk Server Samples Folder)
Deploying BizTalk Assemblies from Visual Studio into a BizTalk Application
Deploying BizTalk Applications