Seems that some arguments of attached to main class attributes were obfuscated.
To solve this problem please mark classes used in design-time attributes as arguments as excluded (use NotObfuscateAttribute) or manually exclude these clases from obfuscation.
For example:
[c#]
[ToolboxItem(typeof(MyControlTbItem))]
[DesignerAttribute(\"MyCompany.MyControlDesigner, MyCompany.MyControl.Design\")]
[LicenseProvider(typeof(MyControlLicenseProvider))]
public class MyControl : Control, ISupportInitialize, IServiceProvider
{
//
}
//marked as excluded from obfuscation
[NineRays.Obfuscator.NotObfuscate]
[Serializable()]
public class MyControlTbItem : ToolboxItem
{
public MyControlTbItem() : base()
{
//....
}
}
//marked as excluded from obfuscation
[NineRays.Obfuscator.NotObfuscate]
public class MyControlDesigner : System.Windows.Forms.Design.ControlDesigner
{
//...
}
//marked as excluded from obfuscation
[NineRays.Obfuscator.NotObfuscate]
internal class MyControlLicenseProvider : System.ComponentModel.LicenseProvider
{
//...
}