Docker Community Forums

Share and learn in the Docker community.

Start ASP.NET in mcr.microsoft.com/windows:20H2

Hello everyone. I will describe the essence of the problem. I have an ASP.NET application using a third party compiled library. This library generates a PDF file from an XML file. For successful generation you need to have installed “Microsoft print to PDF” printer. This printer is available in the image mcr.microsoft.com/windows:20H2. But I cannot install my ASP.NET project on it. The app is installed, but it is not available from the browser, Postman. When I install the space on mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019 container it works, but when I try to generate PDF, the link library throws an error as there is no printer installed. I will be glad to any hint. Maybe somehow it is possible to combine both images or enable IIS support for windows_20H2?