forked from microsoft/PowerToys
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dev]Add additional Winget DSC scripts for VS Pro and Enterprise (mic…
…rosoft#31325) * Create configuration.Enterprise.dsc.yaml * Create configuration.Professional.dsc.yaml * Update configuration.Enterprise.dsc.yaml * Update configuration.Professional.dsc.yaml * Update configuration.dsc.yaml * Rename configuration.Enterprise.dsc.yaml to configuration.vsEnterprise.dsc.yaml * Rename configuration.Professional.dsc.yaml to configuration.vsProfessional.dsc.yaml
- Loading branch information
Showing
3 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/microsoft/PowerToys/blob/main/doc/devdocs/readme.md#compiling-powertoys | ||
properties: | ||
resources: | ||
- resource: Microsoft.Windows.Developer/DeveloperMode | ||
directives: | ||
description: Enable Developer Mode | ||
allowPrerelease: true | ||
settings: | ||
Ensure: Present | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Enterprise (Any edition will work) | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Enterprise | ||
source: winget | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Enterprise | ||
channelId: VisualStudio.17.Release | ||
vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' | ||
configurationVersion: 0.2.0 | ||
|
||
# Next steps: | ||
# Open a terminal | ||
# Navigate to the folder you cloned PowerToys to. | ||
# Run git submodule update --init --recursive |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/microsoft/PowerToys/blob/main/doc/devdocs/readme.md#compiling-powertoys | ||
properties: | ||
resources: | ||
- resource: Microsoft.Windows.Developer/DeveloperMode | ||
directives: | ||
description: Enable Developer Mode | ||
allowPrerelease: true | ||
settings: | ||
Ensure: Present | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Professional (Any edition will work) | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Professional | ||
source: winget | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Professional | ||
channelId: VisualStudio.17.Release | ||
vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' | ||
configurationVersion: 0.2.0 | ||
|
||
# Next steps: | ||
# Open a terminal | ||
# Navigate to the folder you cloned PowerToys to. | ||
# Run git submodule update --init --recursive |