question

eri-9820 avatar image
0 Votes"
eri-9820 asked eri-9820 edited

Can I host the Visual Cpp Build Tools 2015 myself?

VS 2015 Build Tools Web installer has been deprecated and no longer works, as per https://docs.microsoft.com/en-us/lifecycle/announcements/sha-1-signed-content-retired

There's a version available here https://my.visualstudio.com/Downloads?q=visual%20c++%20build%20tools&wt.mc_id=o~msft~vscom~older-downloads

But it's not possible to fetch it and install through automation like

   curl -fLO https://download.my.visualstudio.com/pr/mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso && \
      
   powershell $Image = Mount-DiskImage -ImagePath "$env:TEMP\mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso" -NoDriveLetter -PassThru -StorageType ISO ; \
   $Vol = Get-Volume -DiskImage $Image ; \
   $Drive = Get-WmiObject win32_volume -Filter "Label =  '$($Vol.FileSystemLabel)'" -ErrorAction Stop ; \
   $Drive.AddMountPoint("$env:TEMP\mount") ; 

Because unfortunately the link changes too often/breaks. I also hit a forbidden when running in any other computer that not my own, including a docker environment

Is it ok if I push a copy to of the tool to a public facing file host? (like GitHub)

I need to fetch and install this on a CI system and currently I can't download this tool from anywhere.

There's no text along it that mentions if this is alright or not, but I need to download the VS 2015 Build Tools in a CI pipeline so it would be significantly easier if I could place it in a public facing web host.

vs-setup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers