不好意思,造成困擾
剛剛已找到其他人的解決方法,目前成功了,謝謝
解決方法:https://developercommunity.visualstudio.com/t/Sorry-something-went-wrong-while-inst/1646094?space=8&q=damaged&sort=newest&viewtype=all
Replacing these two files with “known good” copies of machine.config from the same version resolved this for me and didn’t leave me worrying that some unknown issue would crop up later.
After fixing or replacing the machine.config files a reboot is required.
The Windows machine.config file is located one of the following folders:
%Windows%\Microsoft.NET\Framework\v{version}\CONFIG %Windows%\Microsoft.NET\Framework64\v{version}\CONFIG