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.

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
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

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.