Cannot add nuget to toolbaar

Gideon Engelbrecht 46 Reputation points
2022-08-28T11:29:25.993+00:00

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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,355 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2022-08-29T09:09:09.68+00:00

    Hi @Gideon Engelbrecht ,

    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.

    0 comments No comments