Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 3 KB

how-to-include-a-custom-assembly-in-a-bdc-feature.md

File metadata and controls

50 lines (39 loc) · 3 KB
title description ms.date ms.topic f1_keywords dev_langs helpviewer_keywords author ms.author manager ms.subservice
Include a Custom Assembly in a BDC Feature
Include custom assemblies in a business data connectivity (BDC) feature so that your project can reference assemblies from other projects in the same solution.
02/02/2017
how-to
VS.SharePointTools.BDC.Add_Assemblies_Dialog
VB
CSharp
Business Data Connectivity service [SharePoint development in Visual Studio], add reference
Business Data Connectivity service [SharePoint development in Visual Studio], custom assembly
BDC [SharePoint development in Visual Studio], custom assembly
BDC [SharePoint development in Visual Studio], add reference
John-Hart
johnhart
mijacobs
sharepoint-development

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, choose the folder that contains the BDC model.

  2. On the View menu, click Properties Window.

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

    The Assign referenced assemblies to LobSystems dialog box appears.

  4. In the Select an Assembly list, choose 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 By Using the Add Reference Dialog Box.

  5. In the Reference Properties group, open the list that appears for the LobSystem Scope property, choose the LOB System of the methods that use the custom assembly, and then choose the OK button.

    [!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.

Related content