diff --git a/.config/configuration.winget b/.config/configuration.winget index 417c69bc..092cdced 100644 --- a/.config/configuration.winget +++ b/.config/configuration.winget @@ -6,13 +6,16 @@ properties: directives: description: Enable Developer Mode allowPrerelease: true + # Requires elevation for the set operation + securityContext: elevated settings: Ensure: Present - resource: Microsoft.WinGet.DSC/WinGetPackage id: vsPackage directives: description: Install Visual Studio 2022 (any edition is OK) - allowPrerelease: true + # Requires elevation for the set operation + securityContext: elevated settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -22,6 +25,8 @@ properties: directives: description: Install required VS workloads allowPrerelease: true + # Requires elevation for the get and set operations + securityContext: elevated settings: productId: Microsoft.VisualStudio.Product.Community channelId: VisualStudio.17.Release