string basePath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
string picturesPath = basePath + "/../pictures/";//网站运行目录上一级同级目录
根目录
根目录上级同级目录
string basePath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
string picturesPath = basePath + "/../pictures/";//网站运行目录上一级同级目录
根目录
根目录上级同级目录