路径测试windows 和linux
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2023-12-08 12:39:58 +08:00
parent da155bfca3
commit 4673034737
1 changed files with 6 additions and 2 deletions

View File

@ -293,9 +293,13 @@ try
Log.Logger.Warning($"ContentRootPath{env.ContentRootPath}");
Log.Logger.Warning($"ContentRootPath——GetParent{Path.GetDirectoryName(env.ContentRootPath)}");
string parentDirectory = Path.GetFullPath(Path.Combine(env.ContentRootPath, ".."));
Log.Logger.Warning($"ContentRootPath——xx{Path.GetDirectoryName(Path.GetDirectoryName(env.ContentRootPath))}");
Log.Logger.Warning($"ContentRootPath——parentDirectory{parentDirectory}");
//Log.Logger.Warning($"ContentRootPath——GetParent{Directory.GetParent(env.ContentRootPath).Parent.FullName}");
//Log.Logger.Warning($"ContentRootPath——xx{Path.GetDirectoryName(Path.GetDirectoryName(env.ContentRootPath))}");
app.Run();