Exception on pinning App to taskbar

Heiko 716 Reputation points


when I try to pin my app to the taskbar, I get an exception "Interface not registered" and error 0x80040155 when calling RequestPinCurrentAppAsync().

It is a WPF app that has been converted to a bridge app.

What is the cause of the problem?

private async void buttonPinToTaskbar_Click(object sender, RoutedEventArgs e)
    TaskbarManager taskbar = TaskbarManager.GetDefault();

    if (!await taskbar.IsCurrentAppPinnedAsync())
        await taskbar.RequestPinCurrentAppAsync();
Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,172 questions
{count} votes

Accepted answer
  1. Heiko 716 Reputation points


    It seems that it is not supported for desktop bridge apps.

0 additional answers

Sort by: Most helpful