Hello @Ocean,
Welcome to Microsoft Q&A forum.
Maybe it's caused by framework mismatch. For example, the control is based on .NET Framework(like .NET Framework 4.7.2), but the project you are going to drag and use this control is based on .NET(.NET 8). .NET Framework is different from .NET, so this error may occur.
You can try to create a project, target to the same framework and test again.
Best Regards,
Tianyu
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.