Krypton-Suite / Standard-Toolkit

An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET 8 - 9
BSD 3-Clause "New" or "Revised" License
408 stars 62 forks source link

[Bug]: Ribbon on .NET core / .NET 5 winforms #25

Closed russgreen closed 3 years ago

russgreen commented 4 years ago

I can get as far as adding a ribbon, creating tabs, adding ribbon groups to the tabs but when I try and add items to those groups I get a message.

Cannot create an instance of Krypton.Ribbon.KryptonRibbonGroupContainer it is an abstract class.

PWagner1 commented 4 years ago

Hi @russgreen

Just a quick question, are you using the designer?

russgreen commented 4 years ago

The designer doesn’t work at all on the form. Creating via properties panel RibbonTabs...

PWagner1 commented 3 years ago

Have you tried adding net48 to your TargetFrameworks, as this will restore the designer?

russgreen commented 3 years ago

I hadn’t. But thank you. That’s done the trick.

PWagner1 commented 3 years ago

It's because MS doesn't fully support the designer in .NET Core/.NET yet. I don't know why.