From fccc308c90f883386f432f679bcf6f4310795a02 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Cordero Date: Thu, 13 Jun 2024 13:59:18 +0200 Subject: [PATCH] Update msvc from 2019 to 2022 Signed-off-by: Alejandro Hernandez Cordero --- cookbooks/ros2_windows/recipes/visual_studio.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/ros2_windows/recipes/visual_studio.rb b/cookbooks/ros2_windows/recipes/visual_studio.rb index 8b2ac9e..421c529 100644 --- a/cookbooks/ros2_windows/recipes/visual_studio.rb +++ b/cookbooks/ros2_windows/recipes/visual_studio.rb @@ -30,7 +30,7 @@ installer_options = base_options + package_arguments -visual_studio_source = 'https://aka.ms/vs/16/release/vs_%s.exe' % node['ros2_windows']['vs_version'] +visual_studio_source = 'https://aka.ms/vs/17/release/vs_%s.exe' % node['ros2_windows']['vs_version'] vs_version_camel_case = { 'buildtools' => 'BuildTools', @@ -39,7 +39,7 @@ 'enterprise' => 'Enterprise' }[node['ros2_windows']['vs_version']] -visual_studio_path = 'c:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\%s' % vs_version_camel_case +visual_studio_path = 'c:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\%s' % vs_version_camel_case windows_package 'Update VS' do source visual_studio_source installer_type :custom