Skip to content

Commit

Permalink
ansible: add .NET SDK on Windows
Browse files Browse the repository at this point in the history
This is required to migrate from WiX3 to WiX4 for building the Node msi.

Refs: nodejs/node#45943
  • Loading branch information
StefanStojanovic committed Mar 1, 2023
1 parent 447e907 commit d7bf6c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible/roles/visual-studio/tasks/partials/vs2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d7bf6c5

Please sign in to comment.