I have a number of custom activities in my dll. My requirement is to add the custom activities to ToolBox using Code/installer.
I written the following code
asm = Assembly.LoadFrom(Path.Combine(assemblyPath, @"MyProject.dll"));
var types = from t in asm.GetExportedTypes()
if (types != null && types.Count() > 0)
foreach (var item in types)
activityName = item.Substring(item.LastIndexOf(".") + 1);
Above code is adding the activities to the Toolbox as HTML Controls. How can I add the same as WF4 Activities in Toolbox ?
View Complete Post