Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: How goes the winforms designer work? #260

Closed
Tape-Worm opened this issue Aug 12, 2021 · 10 comments
Closed

[Question]: How goes the winforms designer work? #260

Tape-Worm opened this issue Aug 12, 2021 · 10 comments
Labels
question Further information is requested

Comments

@Tape-Worm
Copy link

It's been some time since you've released for 3.1 and .NET 5 (and soon .NET 6).

I can easily use the controls with .NET 5, but designing is another matter entirely. For example, the ribbon, it just does not work through the .NET 5 winforms designer.

I know we can use the multi-target approach and that works somewhat, but it is a cumbersome hack at best. Also, I'm sure some others like me have zero desire to use .NET 4.x once we've upgraded our stuff to 5.

So how goes the work on getting the controls working in the designer? Are there any roadblocks that are keeping things from progressing?

@Tape-Worm Tape-Worm added the question Further information is requested label Aug 12, 2021
@Smurf-IV
Copy link
Member

Can you please have a go with the latest "2108.x Canary" build, as quite a lot has been done and investigated (And hopefully worked around) to get the designer to be "More happy" (About the best way I could put that) with the Krypton dll's.

I may have missed some controls, or even missed something completely due to having a dedicated Krypton Dev environment and not a Developer "Using Krypton" environment.

@PWagner1
Copy link
Contributor

Hi @Tape-Worm,

It's good to see you again!

The current workaround for this bug is to add the following to your csproj file:

<TargetFrameworks>net48;net5.0-windows</TargetFrameworks>

Hope this helps!

@Tape-Worm
Copy link
Author

@Wagnerp
I already knew about the workaround, I was just wondering how you guys were doing regarding getting the designers up and running.

@Smurf-IV
I'll have a go at it some time tomorrow and let you know what I find.

@PWagner1
Copy link
Contributor

@Tape-Worm

The designers do work under .NET/Core, but the smart tags don't

@Tape-Worm
Copy link
Author

Tape-Worm commented Aug 12, 2021

@Smurf-IV
So I had a go at trying out the ribbon (which for me, is the UI component I use the most from Krypton) and as @Wagnerp said, the smart tags don't work yet. But using the properties window I was able to add a tab, and a group. But where it fails is when I try to add the container for the buttons. I get this:
image

@Wagnerp
Just out of curiosity, why don't the smart tags work? Is there a technical limitation with the new .NET 5/Core designer functionality? And how different has the whole process been for adding designer code with the new designer? I'm dreading the day I need to jump in there for my own controls :)

@Smurf-IV
Copy link
Member

I have been concentrating on the "Many" control in the toolkit, I have not got round to all the idiosyncrasies of the other kits yet.
Is the above reported as a stand-alone bug ? And can it be linked to this.
Then this can be used as an investigation into all the controls as devs go through.

@Tape-Worm
Copy link
Author

Tape-Worm commented Aug 12, 2021

@Smurf-IV
I'll make a bug for it now. Wasn't sure if this was a bug, or something that hadn't been finished yet.

It's done, we can close this question now if you like.

@Smurf-IV
Copy link
Member

Don;t be frightened to raise bugs / defects / Issues..

We can then check to see if it's real and it helps others who then search through the bug discussions to see how things progressed / fixed / went away ;-)

@Tape-Worm
Copy link
Author

I honestly didn't know if this was a bug or unfinished functionality, so I didn't want to make an assumption. I'll post as a bug next time I find something that's indeterminant.

@PWagner1
Copy link
Contributor

@Tape-Worm Smart tags should now work, please check the latest builds Canary/Nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants