configuration.vsEnterprise.winget
1 # yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 2 # Reference: https://github.com/microsoft/PowerToys/blob/main/doc/devdocs/readme.md#compiling-powertoys 3 properties: 4 resources: 5 - resource: Microsoft.Windows.Settings/WindowsSettings 6 directives: 7 description: Enable Developer Mode 8 allowPrerelease: true 9 # Requires elevation for the set operation 10 securityContext: elevated 11 settings: 12 DeveloperMode: true 13 - resource: Microsoft.WinGet.DSC/WinGetPackage 14 id: vsPackage 15 directives: 16 description: Install Visual Studio 2022 Enterprise (Any edition will work) 17 # Requires elevation for the set operation 18 securityContext: elevated 19 settings: 20 id: Microsoft.VisualStudio.2022.Enterprise 21 source: winget 22 - resource: Microsoft.VisualStudio.DSC/VSComponents 23 dependsOn: 24 - vsPackage 25 directives: 26 description: Install required VS workloads 27 allowPrerelease: true 28 # Requires elevation for the get and set operations 29 securityContext: elevated 30 settings: 31 productId: Microsoft.VisualStudio.Product.Enterprise 32 channelId: VisualStudio.17.Release 33 vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' 34 configurationVersion: 0.2.0 35 36 # Next steps: 37 # Open a terminal 38 # Navigate to the folder you cloned PowerToys to. 39 # Run git submodule update --init --recursive