File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,31 +5,33 @@ properties:
5
5
- resource: Microsoft.WinGet.DSC/WinGetPackage
6
6
directives:
7
7
description: Install Git
8
- allowPrerelease : true
8
+ # Requires elevation for the set operation (i.e., for installing the package)
9
+ securityContext: elevated
9
10
settings:
10
11
id: Git.Git
11
12
source: winget
12
13
- resource: Microsoft.WinGet.DSC/WinGetPackage
13
14
id: npm
14
15
directives:
15
16
description: Install NodeJS version 20
16
- allowPrerelease : true
17
+ # Requires elevation for the set operation (i.e., for installing the package)
18
+ securityContext: elevated
17
19
settings:
18
20
id: OpenJS.NodeJS.LTS
19
21
version: "20.14.0"
20
22
source: winget
21
23
- resource: Microsoft.WinGet.DSC/WinGetPackage
22
24
directives:
23
25
description: Install Python 3.10
24
- allowPrerelease : true
25
26
settings:
26
27
id: Python.Python.3.10
27
28
source: winget
28
29
- resource: Microsoft.WinGet.DSC/WinGetPackage
29
30
id: vsPackage
30
31
directives:
31
32
description: Install Visual Studio 2022 (any edition is OK)
32
- allowPrerelease : true
33
+ # Requires elevation for the set operation (i.e., for installing the package)
34
+ securityContext: elevated
33
35
settings:
34
36
id: Microsoft.VisualStudio.2022.BuildTools
35
37
source: winget
@@ -38,6 +40,8 @@ properties:
38
40
- vsPackage
39
41
directives:
40
42
description: Install required VS workloads
43
+ # Requires elevation for the get and set operations
44
+ securityContext: elevated
41
45
allowPrerelease: true
42
46
settings:
43
47
productId: Microsoft.VisualStudio.Product.BuildTools
You can’t perform that action at this time.
0 commit comments