Skip to content

Commit d7ba74a

Browse files
Merge pull request #1382 from microsoft/user/jvalesmena/wdk2604-winget
Split winget DSC config into per-VS-edition files
2 parents 57ed9a2 + 4e1c208 commit d7ba74a

3 files changed

Lines changed: 130 additions & 0 deletions

File tree

File renamed without changes.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
properties:
3+
resources:
4+
- resource: Microsoft.WinGet.DSC/WinGetPackage
5+
id: vsPackage
6+
directives:
7+
description: Install Visual Studio Enterprise
8+
allowPrerelease: true
9+
settings:
10+
id: Microsoft.VisualStudio.Enterprise
11+
source: winget
12+
useLatest: true
13+
- resource: Microsoft.VisualStudio.DSC/VSComponents
14+
id: vsComponents
15+
dependsOn:
16+
- vsPackage
17+
directives:
18+
description: Install required VS workloads and components
19+
settings:
20+
productId: Microsoft.VisualStudio.Product.Enterprise
21+
channelId: VisualStudio.18.Release
22+
includeRecommended: false
23+
components:
24+
- Component.Microsoft.Windows.DriverKit
25+
- Microsoft.Component.MSBuild
26+
- Microsoft.VisualStudio.Component.CoreEditor
27+
- Microsoft.VisualStudio.Component.DiagnosticTools
28+
- Microsoft.VisualStudio.Component.Roslyn.Compiler
29+
- Microsoft.VisualStudio.Component.TextTemplating
30+
- Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
31+
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
32+
- Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
33+
- Microsoft.VisualStudio.Component.VC.CoreIde
34+
- Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
35+
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
36+
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
37+
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
38+
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
39+
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
40+
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
41+
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
42+
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
43+
- Microsoft.VisualStudio.Workload.CoreEditor
44+
- Microsoft.VisualStudio.Workload.NativeDesktop
45+
- resource: Microsoft.WinGet.DSC/WinGetPackage
46+
id: sdkPackage
47+
directives:
48+
description: Install Windows SDK version 28000
49+
allowPrerelease: true
50+
settings:
51+
id: Microsoft.WindowsSDK.10.0.28000
52+
source: winget
53+
useLatest: true
54+
- resource: Microsoft.WinGet.DSC/WinGetPackage
55+
id: wdkPackage
56+
dependsOn:
57+
- sdkPackage
58+
directives:
59+
description: Install Windows Driver Kit version 28000
60+
allowPrerelease: true
61+
settings:
62+
id: Microsoft.WindowsWDK.10.0.28000
63+
source: winget
64+
useLatest: true
65+
configurationVersion: 0.2.1
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
properties:
3+
resources:
4+
- resource: Microsoft.WinGet.DSC/WinGetPackage
5+
id: vsPackage
6+
directives:
7+
description: Install Visual Studio Professional
8+
allowPrerelease: true
9+
settings:
10+
id: Microsoft.VisualStudio.Professional
11+
source: winget
12+
useLatest: true
13+
- resource: Microsoft.VisualStudio.DSC/VSComponents
14+
id: vsComponents
15+
dependsOn:
16+
- vsPackage
17+
directives:
18+
description: Install required VS workloads and components
19+
settings:
20+
productId: Microsoft.VisualStudio.Product.Professional
21+
channelId: VisualStudio.18.Release
22+
includeRecommended: false
23+
components:
24+
- Component.Microsoft.Windows.DriverKit
25+
- Microsoft.Component.MSBuild
26+
- Microsoft.VisualStudio.Component.CoreEditor
27+
- Microsoft.VisualStudio.Component.DiagnosticTools
28+
- Microsoft.VisualStudio.Component.Roslyn.Compiler
29+
- Microsoft.VisualStudio.Component.TextTemplating
30+
- Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
31+
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
32+
- Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
33+
- Microsoft.VisualStudio.Component.VC.CoreIde
34+
- Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
35+
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
36+
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
37+
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
38+
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
39+
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
40+
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
41+
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
42+
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
43+
- Microsoft.VisualStudio.Workload.CoreEditor
44+
- Microsoft.VisualStudio.Workload.NativeDesktop
45+
- resource: Microsoft.WinGet.DSC/WinGetPackage
46+
id: sdkPackage
47+
directives:
48+
description: Install Windows SDK version 28000
49+
allowPrerelease: true
50+
settings:
51+
id: Microsoft.WindowsSDK.10.0.28000
52+
source: winget
53+
useLatest: true
54+
- resource: Microsoft.WinGet.DSC/WinGetPackage
55+
id: wdkPackage
56+
dependsOn:
57+
- sdkPackage
58+
directives:
59+
description: Install Windows Driver Kit version 28000
60+
allowPrerelease: true
61+
settings:
62+
id: Microsoft.WindowsWDK.10.0.28000
63+
source: winget
64+
useLatest: true
65+
configurationVersion: 0.2.1

0 commit comments

Comments
 (0)