激活“Microsoft.VisualStudio.LanguageServices.DiagnosticAnalyzer64”服务失败

k K 0 Reputation points
2023-04-23T01:41:48.37+00:00

激活“Microsoft.VisualStudio.LanguageServices.DiagnosticAnalyzer64”服务失败E540CC02-30C7-46fd-9154-B9E20FAAB49D

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,674 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor
    2023-04-24T08:49:53.3066667+00:00

    Hello @k K,

    Welcome to Microsoft Q&A forum.

    When did this issue appear? Installing VS, activating VS, or using VS? Please try following methods:

    1. Reset Visual Studio settings => run devenv /ResetSettings in Developer Command Prompt for Visual Studio 2022 Community.
    2. Repair Visual Studio => open VS Installer > More > Repair.
    3. Run Visual Studio as administrator => right-click VS > click run as administrator.
    4. Disable antivirus, any third-party extensions temporarily > reboot your machine and check if this error appears again.
    5. Update Windows OS and make sure that there’s no Windows Update errors.
    6. Run CMD as administrator and run this command: DISM.exe /Online /Cleanup-image /Restorehealth, make sure that there’s no errors.
    7. If you are using the latest version of VS 2022 Community and this issue persists, please consider reinstalling VS 2022. If you changed anything before this error appeared, please let us know.

    Feel free to let us know the results.

    Sincerely,

    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.

    0 comments No comments