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

Visual Studio 2022 can't add controls to toolbox #32

Closed
charesch opened this issue Feb 1, 2022 · 4 comments
Closed

Visual Studio 2022 can't add controls to toolbox #32

charesch opened this issue Feb 1, 2022 · 4 comments

Comments

@charesch
Copy link

charesch commented Feb 1, 2022

I am using VS 2022 to create a simple .net 6.0 application. I need the maskedtextbox but i can't add the controls to my toolbox.

I installed the package via nuget package manager. In the toolbox, I've tried adding a tab, then chose items and add the DotNetProjects.Wpf.Extended.Toolkit.dll but it throws this error :

"*.dll targets a platform whose toolbox items cannot be enumerated dynamically"

What am i doing wrong?
Thank you very much for your time

@jogibear9988
Copy link
Member

Think it's an issue with the designer:

MahApps/MahApps.Metro#3734

@jogibear9988
Copy link
Member

You can use the items, but not via the toolbox

@jogibear9988
Copy link
Member

i've now also created a net6 version, maybe this helps

@charesch
Copy link
Author

charesch commented Feb 1, 2022

You're right, it works when you add the controls directly in xaml. It displays at design time and does its job at run time.
I would like to see the list in my toolbox, but it is a minor issue. I've got what i wanted.

Thank you for your help!

@charesch charesch closed this as completed Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants