标签: c# .net .net-5
我尝试将 Web 应用程序从 .net 4.7 迁移到 net 5。如何找到等效的 HostingEnvironment.MapPath?但是 MapPath 在 net 5 中不存在?
HostingEnvironment.MapPath
最好的问候