Hey there Zeeshan!
My name is Miguel Ángel and I'm an independent advisor, also a Microsoft user just like you! I'll try to help you today with your issue.
Please, do the following:
- Uninstall ALL Visual C++ packages from the Apps menu in Settings.
- Restart your device.
- Go to https://docs.microsoft.com/en-gb/cpp/windows/la... and install both the x86 and x64 version under "Visual Studio 2015, 2017, 2019, and 2022" section.
- Restart your device when both installations are finished.
- Try again and see if Visual C++ works properly now.
I'll wait for your reply! Don't worry, everything will be okay :)
Thanks for your reply. I was trying to install version 16.2.4 and was receiving this error. So instead of this, I installed version 16.2.3 and there was no such issue. Now will try to update it to the latest version and see if the same error is popped again.