mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 08:37:28 +08:00
调整获取项目根目录方式
This commit is contained in:
parent
ac0dfef321
commit
44fd165dec
@ -45,7 +45,7 @@ namespace Infrastructure.Utilities
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (directoryInfo.Exists
|
if (directoryInfo.Exists
|
||||||
&& directoryInfo.GetDirectories().Where(x => x.Name.LastIndexOf(".Mvc") != -1).FirstOrDefault() != null)
|
&& directoryInfo.GetDirectories().Where(x => x.Name.LastIndexOf(".App") != -1).FirstOrDefault() != null)
|
||||||
{
|
{
|
||||||
return directoryInfo;
|
return directoryInfo;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user