Outlook add-in created in C# (.NET 6.0) not showing in outlook ribbon

Smit Rathod 100 Reputation points
2023-02-09T14:47:40.8666667+00:00

I was having my outlook desktop add-in in .NET framework version 4.8. Recently, I have migrated it to 6.0.

It's having 4 projects :
Project 1 (WPF Class library)
Project 2 (WPF Class library)
Project 3 (C++ Shim Project)
Project 4 (WPF Application)

Everything building successfully. Add-in is getting registered on registry with success. Add-in is not getting disabled.

But still I am not able to see my add-in on outlook ribbon.

Don't know what is exactly happening.

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,432 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,319 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,680 questions
0 comments No comments
{count} votes

Accepted answer
  1. Eugene Astafiev 891 Reputation points
    2023-02-10T07:47:58.9033333+00:00

    VSTO like any other frameworks for developing COM add-ins doesn't support .Net core (or custom shimmed projects).

    .Net standard can't be used for developing COM add-ins, you need to use any .Net framework versions, but not Core (.net standard). If you try to create a new VSTO add-in for Outlook you will not find any .Net Standard (Core) versions in the list of available target .net versions.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful