Hi,
I am having the Exit code: 0x80044000 when trying to install Visual Cpp Tools from VS 2015 like below
choco install microsoft-visual-cpp-build-tools
https://community.chocolatey.org/packages/microsoft-visual-cpp-build-tools
Here is the error log: https://gist.github.com/ericoporto/e1150aba5fbd7bb1edead75ea54a55d3
I am installing in a Windows Server Core Docker Container: mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
This install used to work but started to giving me error now. Any idea why?
From the log, it appears the address "http://go.microsoft.com/fwlink/?LinkID=659005" died but it I don't know if it's just that.
tried to instead use VS2019 to get VS2015 tools, but now I am stuck at:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Build.CppTasks.Common.dll. Could not load file or a
ssembly 'Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are ava
ilable, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Lib\SDL_sound\build\CMakeFiles\3.19.1\VCTargetsPath.vcxproj]
Done Building Project "C:\Lib\SDL_sound\build\CMakeFiles\3.19.1\VCTargetsPath.vcxproj" (default targets) -- FAILED.
I installed VS2019 with VS2015 ( VC.140) as following in docker:
ARG VISUALCPP_BUILD_TOOLS_VERSION=16.9.4.0
RUN cinst visualstudio2019buildtools --version %VISUALCPP_BUILD_TOOLS_VERSION% -y --package-parameters "--add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.Windows81SDK --add Microsoft.VisualStudio.Component.VC.140 --add Microsoft.Component.VC.Runtime.UCRTSDK" && \
Also this used a ton more space, which makes moving images on GKE a ton slower and it's more chance of timing out builds, I would prefer to keep with VC2015 build tools.
Please, I just want to use VS2015 command line build tools in my CI, they worked fine in Windows Server Core until days ago!!!!

