In order to disable component designer in classes it is simple to add just [System.ComponentModel.DesignerCategory(\"\")] attribute to it, however it does not work for any class
"Attribute inheritance" at first struck me as odd, as I always thought that attributes weren't inherited; after checking docs.microsoft.com I discovered that that doesn't have to be the case - attributes may have Inherited = true
, so thanks to you for helping me broaden my knowledge :-)
Additionally, I also had to remove a bunch of
entries from the .csproj file