Integrating a .NET assembly plugin into the IDE

While working on my Gmail, I found an email that I wrote on Oct 16, 2006, while I was still working at Borland, on how to integrate a .NET assembly plugin into the IDE.

Here's the email.

To integrate a .NET assembly into the IDE, create a value with the full path name to the location of the assembly at HKEY_CURRENT_USER\Software\Borland\BDS\4.0\Known IDE Assemblies. Set the data of the value to non-empty string in order for the IDE to load the assembly.

Ensure that the assembly has a class containing a static class method named IDERegister.

using System;
using Borland.Studio.ToolsAPI;
using System.Windows.Forms;

namespace OpenToolsNETPlugin
{
 public class MyOTAClass
 {

  public MyOTAClass()
  {
  }

 

  public static void IDERegister()
  {
     MessageBox.Show("I'm loaded");
  }

 

 }
}

 

Published Sun, 7 Feb 2010 @ 9:03 PM by chuacw
Related articles: ,

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Enter the following code to ensure that your comment reaches the intended party:
Enter the numbers you see in the image: