Created
April 11, 2023 20:42
-
-
Save ryfu-msft/1bc9d06fc08d70083671785d53d3376e to your computer and use it in GitHub Desktop.
winget-cli build configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.1 | |
# Reference: https://github.com/microsoft/winget-cli-restsource#building-the-client | |
properties: | |
resources: | |
- resource: DeveloperMode | |
directives: | |
description: Enable Developer Mode | |
module: Microsoft.Windows.DSC | |
settings: | |
Ensure: Present | |
- resource: WinGetPackage | |
id: vsPackage | |
directives: | |
description: Install Visual Studio 2022 (any edition is OK) | |
module: Microsoft.WinGet.DSC | |
settings: | |
id: Microsoft.VisualStudio.2022.Community | |
source: winget | |
- resource: InstallVSConfig | |
dependsOn: | |
- vsPackage | |
directives: | |
description: Install required VS workloads from project .vsconfig file | |
module: Microsoft.VisualStudio.DSC | |
settings: | |
productId: Microsoft.VisualStudio.Product.Community | |
channelId: VisualStudio.17.Release | |
vsconfigFile: .\.vsconfig | |
configurationVersion: 0.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment