From d7bf6c574583b1710d09c11f909a9cba73ff0f81 Mon Sep 17 00:00:00 2001 From: StefanStojanovic Date: Wed, 1 Mar 2023 16:10:27 +0100 Subject: [PATCH] ansible: add .NET SDK on Windows This is required to migrate from WiX3 to WiX4 for building the Node msi. Refs: https://github.com/nodejs/node/pull/45943 --- ansible/roles/visual-studio/tasks/partials/vs2019.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/visual-studio/tasks/partials/vs2019.yml b/ansible/roles/visual-studio/tasks/partials/vs2019.yml index cb618c1ca..6c54f401b 100644 --- a/ansible/roles/visual-studio/tasks/partials/vs2019.yml +++ b/ansible/roles/visual-studio/tasks/partials/vs2019.yml @@ -8,10 +8,11 @@ - name: install Visual Studio Community 2019 win_chocolatey: name=visualstudio2019community +# Note: The .NET SDK was added as a prerequisite for WiX4 - https://github.com/nodejs/node/pull/45943 - name: install Visual Studio Community 2019 Native Desktop Workload win_chocolatey: name: visualstudio2019-workload-nativedesktop - params: '--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64' + params: '--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.NetCore.Component.SDK' - name: install WiX Toolset import_tasks: 'wixtoolset.yml'