File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,16 @@ properties:
66 directives:
77 description: Enable Developer Mode
88 allowPrerelease: true
9+ # Requires elevation for the set operation
10+ securityContext: elevated
911 settings:
1012 Ensure: Present
1113 - resource: Microsoft.WinGet.DSC/WinGetPackage
1214 id: vsPackage
1315 directives:
1416 description: Install Visual Studio 2022 (any edition is OK)
15- allowPrerelease: true
17+ # Requires elevation for the set operation
18+ securityContext: elevated
1619 settings:
1720 id: Microsoft.VisualStudio.2022.Community
1821 source: winget
@@ -22,6 +25,8 @@ properties:
2225 directives:
2326 description: Install required VS workloads
2427 allowPrerelease: true
28+ # Requires elevation for the get and set operations
29+ securityContext: elevated
2530 settings:
2631 productId: Microsoft.VisualStudio.Product.Community
2732 channelId: VisualStudio.17.Release
You can’t perform that action at this time.
0 commit comments