Hello @杨岑,
I think something’s wrong with this specific file(.appxmanifest) or with VS.
A temporarily quick workaround is to create a new UWP project, edit its .appxmanifest file to match your project’s .appxmanifest file and replace your .appxmanifest file. Don’t just copy and paste the xml code. It’s possible that there are some bad characters in the .appxmanifest file, if you just copy and paste the xml code, this issue may persist.
If this doesn’t work, please try to repair VS from VS Installer => More => Repair.
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.