summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdonais Romero González <[email protected]>2023-12-14 13:39:53 -0600
committerAdonais Romero González <[email protected]>2023-12-14 13:39:53 -0600
commit7b0c7e24905cf4cafd33da5737b573696beb66b7 (patch)
tree6b1424af80f4f5b5d2acffaf4aef951210f5e785
parent962c0594ad985978c80711740ffba57ef5566f99 (diff)
Add winget configuration file to install VS onlyuser/jacob-ronstadt/code-scanning
-rw-r--r--configuration_vsonly.dsc.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/configuration_vsonly.dsc.yaml b/configuration_vsonly.dsc.yaml
new file mode 100644
index 00000000..a46f410e
--- /dev/null
+++ b/configuration_vsonly.dsc.yaml
@@ -0,0 +1,46 @@
+# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
+properties:
+ resources:
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: vsPackage
+ directives:
+ description: Install Visual Studio Community 2022
+ allowPrerelease: true
+ settings:
+ id: Microsoft.VisualStudio.2022.Community
+ source: winget
+ - resource: Microsoft.VisualStudio.DSC/VSComponents
+ id: vsComponents
+ dependsOn:
+ - vsPackage
+ directives:
+ description: Install required VS workloads
+ maxVersion: "1.0.15"
+ allowPrerelease: true
+ settings:
+ productId: Microsoft.VisualStudio.Product.Community
+ channelId: VisualStudio.17.Release
+ includeRecommended: false
+ components:
+ - Microsoft.VisualStudio.Component.VC.CoreBuildTools
+ - Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
+ - Microsoft.VisualStudio.Component.VC.Tools.x86.x64
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
+ - Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
+ - Microsoft.VisualStudio.Component.VC.Redist.14.Latest
+ - Microsoft.VisualStudio.Component.Windows10SDK
+ - Microsoft.VisualStudio.Component.VC.ATL
+ - Microsoft.VisualStudio.Component.VC.ATL.ARM64
+ - Microsoft.VisualStudio.Component.VC.ATL.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATLMFC
+ - Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
+ - Microsoft.VisualStudio.Component.VC.ASAN
+ - Microsoft.VisualStudio.Component.NuGet.BuildTools
+ - Microsoft.VisualStudio.Component.VC.MFC.ARM64
+ - Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
+ - Microsoft.VisualStudio.Workload.NativeDesktop
+ configurationVersion: 0.2.0