windowsdockerbuild-toolsbuild-server

Where to find microsoft.mshtml.dll on docker image


In my build server docker image based on mcr.microsoft.com/windows/servercore:1809-amd64, I get a missing reference error to microsoft.mshtml.dll while running the build. The dll is related to the internet explorer which is clearly not installed on that image. I have dotnet framework 4.7.2 SDK and TargetingPack installed on the image, which do not seem to include the file. Is there a SDK or a workload of the visual studio build tools which contains this dll? Is there a way figure out which workload/sdk contains which files?


Solution

  • Among the workloads and components that can be installed with Visual Studio Build Tools as listed here, the dll is contained in Microsoft.VisualStudio.Component.TeamOffice.BuildTools.