From ff1da89cc034eda1b4df9b68af093c3c51b30af8 Mon Sep 17 00:00:00 2001 From: jacob-ronstadt Date: Wed, 22 May 2024 10:44:15 -0700 Subject: [PATCH 1/2] update configuration_vsonly.dsc.yaml for 26100 --- configuration_vsonly.dsc.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/configuration_vsonly.dsc.yaml b/configuration_vsonly.dsc.yaml index 17595aecc..1fb2a229b 100644 --- a/configuration_vsonly.dsc.yaml +++ b/configuration_vsonly.dsc.yaml @@ -4,19 +4,18 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage id: vsPackage directives: - description: Install Visual Studio 2022 Community + description: Install Visual Studio Community 2022 allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget - useLatest: true - resource: Microsoft.VisualStudio.DSC/VSComponents id: vsComponents dependsOn: - vsPackage directives: description: Install required VS workloads - maxVersion: "1.0.21" + allowPrerelease: true settings: productId: Microsoft.VisualStudio.Product.Community channelId: VisualStudio.17.Release @@ -43,4 +42,14 @@ properties: - Microsoft.VisualStudio.Component.VC.MFC.ARM64 - Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre - Microsoft.VisualStudio.Workload.NativeDesktop + - resource: Microsoft.WinGet.DSC/WinGetPackage + id: sdkPackage + dependsOn: + - vsComponents + directives: + description: Install Windows SDK + allowPrerelease: true + settings: + id: Microsoft.WindowsSDK.10.0.26100 + source: winget configurationVersion: 0.2.0 From 8fad20e70a995936f36af3a38cd4943d0f745a41 Mon Sep 17 00:00:00 2001 From: jacob-ronstadt Date: Wed, 22 May 2024 13:08:39 -0700 Subject: [PATCH 2/2] remove winget install of sdk from configuration_vsonly.dsc.yaml --- configuration_vsonly.dsc.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/configuration_vsonly.dsc.yaml b/configuration_vsonly.dsc.yaml index 1fb2a229b..b7764f0f0 100644 --- a/configuration_vsonly.dsc.yaml +++ b/configuration_vsonly.dsc.yaml @@ -42,14 +42,4 @@ properties: - Microsoft.VisualStudio.Component.VC.MFC.ARM64 - Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre - Microsoft.VisualStudio.Workload.NativeDesktop - - resource: Microsoft.WinGet.DSC/WinGetPackage - id: sdkPackage - dependsOn: - - vsComponents - directives: - description: Install Windows SDK - allowPrerelease: true - settings: - id: Microsoft.WindowsSDK.10.0.26100 - source: winget configurationVersion: 0.2.0