Skip to content

Commit f2d1470

Browse files
committed
Resolved #29: CalculateRootFolder() not portable.
1 parent 75b4532 commit f2d1470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbpCompanyName.AbpProjectName.Core/Web/WebContentFolderHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static string CalculateContentRootFolder()
2929
directoryInfo = directoryInfo.Parent;
3030
}
3131

32-
return Path.Combine(directoryInfo.FullName, @"src\AbpCompanyName.AbpProjectName.Web");
32+
return Path.Combine(directoryInfo.FullName, $"src{Path.DirectorySeparatorChar}AbpCompanyName.AbpProjectName.Web");
3333
}
3434

3535
private static bool DirectoryContains(string directory, string fileName)

0 commit comments

Comments
 (0)