Microsoft.VisualStudio.Editor.Implementation.EditorPackage did not load correctly

YT 唐 15 Reputation points
2023-07-13T01:27:27.0633333+00:00

When I start Vs, I will be prompted with such information:'Microsoft.VisualStudio.Editor.Implementation.EditorPackage did not load correctly', and noticed a log file named ActivityLog.xml.

I checked the errors occured with 'setsite failed for package [microsoft.visualstudio.editor.implementation.editorpackage]source: '(null)' description: unspecified error', guid:{E269B994-EF71-4CE0-8BCD-581C217372E8},Hr:0x80004003 - E_POINTER. But no more infomation.

I followed the advice mentioned in a long ago post: https://developercommunity.visualstudio.com/t/microsoftvisualstudioeditorimplementationeditorpac/47524

for example, completely uninstall and reinstall, change the installation location, and clear userdata, but none of them work.

This error is currently happening on all versions of vs2022, including the preview version, now I can only switch back to vs2019, only it works correctly.

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-07-13T08:46:14.99+00:00

    Hello @YT 唐,

    Welcome to Microsoft Q&A forum.

    In case this is a potential issue, I may recommend submitting a ticket on our Developer Community by using VS Installer > Provide Feedback > Report a problem for further investigate.

    Currently, you may try following steps(if you haven’t tried):

    1. Close VS and VS Installer > navigate to C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_xxxxxxxx > rename ComponentModelCache folder(s) > run VS as administrator.
    2. Run devenv /ResetSettings command in Developer Command Prompt for Visual Studio 2022 to reset VS and VS settings.

    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.

    1 person found this answer helpful.

Your answer

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