Skip to content

Widget does not appear in widget board after deploying from visual studio 2022 #4962

Open
@Vargese-antony

Description

@Vargese-antony

Describe the bug

To examine the way widgets works, we have used the sample from the following repo,
https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Widgets/cs-console-packaged

Once the deploy command is successful, we opened the widget board to pin the widget, but could not see the widget.

Steps to reproduce the bug

  1. Clone C# source code from the repo https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Widgets/cs-console-packaged
  2. Build the solution and deploy from visual studio 2022(refer screenshot 'Deploy_from_visual_studio_SS')
  3. Open the widget board
  4. The widget is not available in the 'Add widget' dialog to be pinned(refer screenshot 'Add_Widget_Dialog_Without_Deployed_Widget')

Expected behavior

The deployed widget should be available in the widget board to be pinned

Screenshots

Deploy_from_visual_studio_SS:

Image

Add_Widget_Dialog_Without_Deployed_Widget

Image

NuGet package version

Windows App SDK 1.6.3: 1.6.241114003

Packaging type

Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions