MicrosoftDocs / windows-dev-docs

Conceptual and overview content for developing Windows apps
Creative Commons Attribution 4.0 International
667 stars 1.18k forks source link

fix: use package id instead of display name in winget dsc example #4951

Closed scottmckendry closed 1 month ago

scottmckendry commented 2 months ago

I tried to use the example in the doc but got this error:

image

I realised this is due to the DSC file calling for an ID and the example uses the package's display name instead. I found the correct ID with winget search powertoys:

image

Replaced it in the example and it works as expected.

image

prmerger-automator[bot] commented 2 months ago

@scottmckendry : Thanks for your contribution! The author(s) have been notified to review your proposed change.

learn-build-service-prod[bot] commented 2 months ago

Learn Build status updates of commit 77715a7:

:white_check_mark: Validation status: passed

File Status Preview URL Details
hub/powertoys/dsc-configure.md :white_check_mark:Succeeded

For more details, please refer to the build report.

For any questions, please: