Hello @Yicheng Zhou ,
Welcome to Microsoft Q&A forum.
Please try following:
- Go to this
C:\ProgramData\Microsoft\VisualStudio\Packages
directory, and search "Microsoft.Net.4.8.FullRedist.20H2,version=4.8.9037.6" package. If it exists, please open this folder and check if there’s any .msi or .exe file, try to right-click them and run it/them as administrator(install manually). - Try to update Windows OS and install any pending updated Windows Updates in Settings > Windows Update.
- Try to remove this folder("Microsoft.Net.4.8.FullRedist.20H2,version=4.8.9037.6") and continue/retry/repair installing VS.
- Please try to download Microsoft .NET Framework 4.8 offline installer to install .NET Framework 4.8. If it installs successfully, please then reboot your machine and retry installing VS.
- Please also make sure that you have enough permissions to install VS, and there’s no local group policy and limits. Please also try to disable antivirus software temporarily and retry installing VS.
Feel free to let us know if any of above suggestions work.
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.