We convert old custom COM tools to custom AddIns and have a question - how to get it as IEditTask on runtime?
We need to set Application.CurrentTask with ESRI.ArcGIS.Editor.IEditTask, so the question is how to create an object with type IEditTask?
Old COM class:
public class clsCustomEditTask : ESRI.ArcGIS.Editor.IEditTask
New AddIn class:
public class clsCustomEditorExtension : ESRI.ArcGIS.Desktop.AddIns.Extension
The help says we cannot deploy (register) tasks in AddIn
ArcMap 10.6.1, C#