Welcome to Microsoft Q&A!
Try to uninstall and reinstall
Check the similar issue : https://learn.microsoft.com/en-us/answers/questions/171259/setting-targetplatformminversion.html .
If the response is helpful, please click "Accept Answer" and upvote it.
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.
I test this solution ,it works fine on my side .
Thanks , working now with no errors after update