question

GideonEngelbrecht-5909 avatar image
0 Votes"
GideonEngelbrecht-5909 asked AnnaXiu-MSFT edited

Cannot add nuget to toolbaar

I cannot get XamlRadialProgressbar which I added through Nuget packages to show on my toolbox in Visual Studio 2019 (version 16:11:18) . My application is a VB.Net (Core 3.1).
When I try to add through toolbox>choose items>.NET Framework Components>browse to .dll - I get the following error message : XamlRadialProgressbar targets a platform whose toolbox item cannot be enumerated dynamically.

I have searched for solutions online, but could not get an answer anywhere. Some answers are very confusing.

dotnet-visual-basicdotnet-package-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered AnnaXiu-MSFT edited

Hi @GideonEngelbrecht-5909,

Welcome to Microsoft Q&A!

In VS2019. I can reproduce your issue in WPF application (targeting .NET Core and .NET Framework) with VB.
Also tested it in VS2022, I found the RadialProgressBar control can be added into toolbox in .NET Framework project. But the same error occurs in .NET Core project.

I suggest you report this issue to product team in Developer Community.

Meanwhile, for the NuGet package XamlRadialProgressBar, it is personally owned by panthernet and the latest version is updated in 4/16/2020. I suppose it may be a little too old. I suggest you can also report to it’s owner.

Sincerely,
Anna


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.