I am trying to move my current build server, which is based on Visual Studio, to a containerized environment. As such, I am trying to use the mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-ltsc2019
image available on docker hub.
One step required during the build is to remove the NXCOMPAT
flag from the resulting executable (more details available here for the why). To do so, I need to use editbin.exe
which ships with Visual Studio. The current image version does not include it. So I would like to add it myself as I already have to customize the image a bit to fit my needs.
Which package can I install to get editbin.exe
working in my docker image?
I don't want to install a full Visual Studio as it will defeat the purpose of using the dotnet sdk image. I am not even sure I can as the container is not running in an interactive mode.
I originally reported my issue to the microsoft/dotnet-framework-docker
repo here.