I’m using pega studio version 22.1.29 and I make a custom DLL called circular progress bar and after I have add it in the toolbox and when I try to pull the properties of the control I’m getting this error that says “Encountered problem adding object to automation: Multiple custom attributes of the same type found.”, see screenshot attach for the error.
@RodelD76 Is it possible to provide the code for your custom DLL? I suspect the issue lies there. If not, can you provide a Studio Log set to Debug level?
I have attach here the code. Additionally, I have attach also here the screenshot from when I add this custom DLL as reference in v19 and I was able to pull the properties.
@RodelD76 I am not quite sure of why this is now an issue and was not before, however, the way to resolve it is to comment your description line above your Text accessor.
//[Description(“Gets the Text that is displayed inside the Control.”), Category(“Behavior”)]
public override string Text { get; set; }
@RodelD76 We are looking into it. I will update if I get any more detail. I suspect the extensive changes to the Toolbox are the ultimate cause of the issue.