DinkToPdf Library Unable to load shared library 'Shell32.dll'
问题 I am using DinkToPdf Library for pdf generation, but I encountered on a problme on Debian 9. I changed CustomAssemblyLoadConext to load the .so file like this #region DinkToPDF #if DEBUG string filePath = $@"{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\libwkhtmltox.dll"; #else string filePath = $@"{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\libwkhtmltox.so"; #endif CustomAssemblyLoadContext context = new CustomAssemblyLoadContext(); context