Interface not registered exception from HRESULT:0x80040155

GGe 0 Reputation points
2024-05-13T14:48:34.7233333+00:00

Hello,

I 'm tryingto create a VSTO project for excel, and when i select to create to project on the starting screen I get the Interface not registered exception from HRESULT:0x80040155

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

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,566 Reputation points Microsoft Vendor
    2024-05-14T03:21:33.36+00:00

    Hi @GGe, 

    Welcome to Microsoft Q&A!

    To create Excel VSTO Add-in project in Visual Studio, please view the document and you need to meet the following requirements:

    It is noted that the office project templates are available only in Visual Studio 2017 with the Office/SharePoint development workload. 

    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