Skip to content

Instantly share code, notes, and snippets.

@dacci
Created May 10, 2026 13:15
Show Gist options
  • Select an option

  • Save dacci/ee46d3ca274bf74634668cf2839bee03 to your computer and use it in GitHub Desktop.

Select an option

Save dacci/ee46d3ca274bf74634668cf2839bee03 to your computer and use it in GitHub Desktop.
WinGet configuration for Rust development
# yaml-language-server: $schema: https://aka.ms/configuration-dsc-schema/0.2
properties:
configurationVersion: 0.2.0
resources:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.VisualStudio.Community
directives:
securityContext: elevated
settings:
id: Microsoft.VisualStudio.Community
source: winget
- resource: Microsoft.VisualStudio.DSC/VSComponents
id: Microsoft.VisualStudio.Workload.NativeDesktop
dependsOn:
- Microsoft.VisualStudio.Community
directives:
securityContext: elevated
settings:
productId: Microsoft.VisualStudio.Product.Community
channelId: VisualStudio.18.Release
components:
- Microsoft.VisualStudio.Workload.NativeDesktop
includeRecommended: true
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Rustlang.Rustup
settings:
id: Rustlang.Rustup
source: winget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment