Originally posted by **zhaoyanliang2** December 27, 2021
`Assembly.GetEntryAssembly().Location` returns an empty string in a single file application.
https://github.com/justcoding121/titanium-web-proxy/blob/2825191dc8734108072e5f6af98b4a9ce3554492/src/Titanium.Web.Proxy/Certificates/Cache/DefaultCertificateDiskCache.cs#L129
https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
Discussed in https://github.com/justcoding121/titanium-web-proxy/discussions/894