Share via


How to: Include a Custom Assembly in a BDC Feature

Your project can reference assemblies from other projects in the same solution. However, you must add these assemblies to the feature file of the project by using the Assign referenced assemblies to LobSystems dialog box.

To include a custom assembly in a Business Data Connectivity (BDC) feature

  1. In Solution Explorer, select the folder that contains the BDC model.

  2. On the View menu, click Properties Window.

  3. In the Properties window, select the Assemblies property, and then click the ellipsis button (ASP.NET Mobile Designer ellipse).

    The Assign referenced assemblies to LobSystems dialog box appears.

  4. In the Assign referenced assemblies to LobSystems dialog box, in the Select an Assembly list, select the custom assembly.

    Note

    Assemblies only appear in the Assign referenced assemblies to LobSystems dialog box if you have added a reference to the project that contains the assembly. For more information, see How to: Add or Remove References in Visual Studio.

  5. In the Reference Properties group, click the drop-down list that appears for the LobSystem Scope property, and then select the LOB System of the methods that use the custom assembly.

  6. Click Ok.

    Note

    To debug code in the custom assembly, you must add the assembly to the solution package. For more information, see How to: Add and Remove Additional Assemblies.

See Also

Tasks

How to: Use a Resource File to Specify Localized Names, Properties, and Permissions

How to: Add an Existing BDC Model File to a SharePoint Project

How to: Create a BDC Model

Other Resources

Creating a Business Data Connectivity Model

Integrating Business Data into SharePoint