var basePath = PlatformServices.Default.Application.ApplicationBasePath;
var basePath = Microsoft.DotNet.PlatformAbstractions.ApplicationEnvironment.ApplicationBasePath;
转载于:https://www.cnblogs.com/Anthony518/p/11216623.html
var basePath = PlatformServices.Default.Application.ApplicationBasePath;
var basePath = Microsoft.DotNet.PlatformAbstractions.ApplicationEnvironment.ApplicationBasePath;
转载于:https://www.cnblogs.com/Anthony518/p/11216623.html