安装Visual Studio时提示CLR错误

KerryZY 1 Reputation point
2022-10-12T09:01:47.597+00:00

安装Visual Studio时提示CLR错误:80004005

我打开安装程序安装"VisualStudioSetup.exe"时,准备完成后弹出了一个错误消息框:CLR错误:80004005,程序将立即中止,这该怎么办呢?249662-2.png

249615-1.png

Developer technologies | Visual Studio | Setup
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,156 Reputation points Microsoft External Staff
    2022-10-13T06:47:16.287+00:00

    Hi @KerryZY ,

    Welcome to Microsoft Q&A!

    Which version of Visual Studio do you want to install? It seems that the error is related to your .NET Framework.

    Please try to use the Microsoft .NET Framework Repair Tool to repair your .NET Framework.
    And run “sfc /scannow” to repair missing or corrupted system files.
    Then, download the VS from the Microsoft Download page and run it as administrator.

    Before installing VS, please temporarily disable your anti-virus software.

    Sincerely,
    Anna
    *
    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.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.