Editar

Partilhar via


Lesson 4: Building and Deploying the Assembly

In this lesson, you build and deploy the project to generate an assembly that contains the schemas you created in the previous lessons. This task ensures there are no compilation errors in the work you created so far.

Deploying an assembly places a copy of the assembly in the Configuration database and installs it in the global assembly cache (GAC). In the following procedure, you deploy directly from Solution Explorer.

When the project compiles into an assembly (DLL file), Microsoft BizTalk Accelerator for SWIFT (A4SWIFT) saves the DLL in the <drive>:\Program Files\Microsoft BizTalk Accelerator for SWIFT\bin\Development folder within the project folder.

To build and deploy the project

  1. In Solution Explorer, right-click SWIFTSchemas, and then click Build.

    Note

    Verify that Build Succeeded appears in the lower left-hand corner of the screen. During the compilation process, you may see some status messages. These messages are normal when dealing with the SWIFT schemas. If any errors appear, click Tools, and then click BizTalk Server Administration to open the BizTalk Server Administration Console. Use the Event Viewer and the Health and Activity Tracking (HAT) feature in the BizTalk Administration Console to correct your errors and rebuild.

  2. Using Windows Explorer, browse to the <drive>:\labs\SWIFTProject\SWIFTSchemas\bin\Development folder, and verify that the SWIFTSchemas.dll file exists in this folder.

  3. In Solution Explorer, right-click SWIFTSchemas, and then click Deploy.

    Note

    Verify that Deploy Succeeded appears in the lower left corner of the screen.

To confirm deployment success

  1. Click View and then click BizTalk Explorer.

  2. Expand the Assemblies node and confirm that SWIFTSchemas (1.0.0.0) appears in the list.

    If SWIFTSchemas appears in the list, the assembly deployed successfully and can be referenced and used from other BizTalk Server projects.

    Proceed to Module 3: Adding a Pipeline Project.