IExtensionApplication autocad
public class Plugin : IExtensionApplication{ static Locator loc = new Locator(); public void Initialize() { var currentPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); loc.InstallLocator(currentPath); } public void Terminate() { }}