Creating an IDO extension class project

  1. Open Visual Studio.
  2. From the File menu, select New > Project.
  3. In the New Project dialog box, perform these steps:
    1. Select the desired language.
    2. On the Templates > Visual Basic tab, select the AssemblyInfo.cs template.
    3. Specify a name and location for your project.
    4. Click OK.

    A Class1.cs file is created.

  4. In the Solution Explorer window, right-click the file and select Remove.
  5. From the Project menu, select Add Reference.
  6. In the Reference Manager dialog box, perform these steps:
    1. Click the Browse tab and navigate to your application's installation directory.
    2. Add references to these assemblies:
      • IDOCore.dll
      • IDOBase.dll
      • IDOProtocol.dll
      • MGShared.dll
      • WSEnums.dll
    3. Click OK.
  7. From the Project menu, select Add New Item.
  8. In the Add New Item dialog box, perform these steps:
    1. In the Installed > Common Items tab, select Code File.
    2. In the Name field, specify AssemblyInfo.cs.
    3. Click Add.
  9. Open the new AssemblyInfo.cs source file and add this assembly attribute:
    [Assembly: Mongoose.IDO.IDOExtensionClassAssembly("assembly-name")] 

Substitute a meaningful name for the assembly-name parameter. You can specify any name, but typically, the name of the IDO project associated with the classes in this assembly is used. When this class library is imported to the IDO Extension Class Assemblies form, the name you specify here becomes the name of the assembly.

Caution: 
If you add a reference to another assembly from your IDO extension class assembly, the referenced assembly must also be imported as another custom assembly. When .NET tries to locate the referenced assembly, the IDO runtime service searches the database for a matching assembly and loads it on demand.