Hi @Hong ,
Welcome to Microsoft Q&A!
According to the document Remove Unused References,
This refactoring applies to:
- C#
- Visual Basic What: For SDK style projects only, lets you remove unused references. When: You want to clean up project references and NuGet packages that have no usage.
UWP project is not SDK style project, it cannot use "Remove Unused References".
Thank you.
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.