Tool information
Area for Triage: C/C++
Question, Bug, or Feature?: Feature
Virtual environments affected
Can this tool be installed during the build?
Currently, as a workaround, we install this component via the PowerShell, using the following command:
Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList 'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet --add Microsoft.VisualStudio.Component.VC.Redist.MSM' -Wait -PassThru
It takes 10-15 minutes to install, that's why we would like to have it installed in advance to reduce the duration of every build.
Are you willing to submit a PR?
Kindly, add this component name Microsoft.VisualStudio.Component.VC.Redist.MSM into the VS 2019 installation script here https://github.com/actions/virtual-environments/blob/master/images/win/scripts/Installers/Windows2019/Install-VS2019.ps1 into $WorkLoads list. This should do it.
This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity.
@allexzander sorry for the delay in looking at this. Is it still an issue for you?
@allexzander sorry for the delay in looking at this. Is it still an issue for you?
Hi @alepauly,
We are using a workaround by manually installing this component during the build process. It would be nice to have it added by default into a virtual OS image, so we would save the time spent for the installation for every build.
Hi @allexzander, we briefly looked into it and considering the size of the component and maintenance concerns, we won't be baking it into the image at this time.