- Open the project in VS 2022
- Tools->Create GUID
- Select the option "static const GUID =", click on
Copy
and then paste that into main.cpp, replacing the following code:
// {838F706D-3C55-48AC-8190-45DD8CAE29B1}<br> static const GUID widget_provider_clsid = { 0x838f706d, 0x3c55, 0x48ac, { 0x81, 0x90, 0x45, 0xdd, 0x8c, 0xae, 0x29, 0xb1 } };
Make sure the variable name remainswidget_provider_clsid
. - Copy the newly generated GUID to clipboard (currently
838F706D-3C55-48AC-8190-45DD8CAE29B1
), then right click on Package.appxmanifest -> View Code - Search for the current GUID
838F706D-3C55-48AC-8190-45DD8CAE29B1
, and replace any occurrences with the newly generated GUID. - Right click the Solution -> Build Solution
- Right click ExampleWidgetProviderPackage -> Deploy
- Open the widgets board
- Click the "+" icon to add a widget
- Add the counter widget
elyasaf755 / examplewidgetprovider Goto Github PK
View Code? Open in Web Editor NEWA simple counter widget for Windows' widgets board using Adaptive Cards