You have a leading slash on @"\ReportedContent\"
. You don't want that (or the trailing one, I suspect) - try just:
string reportedContentFolderPath =
Path.Combine(contentFolder.FullName.ToString(), "ReportedContent");
From the documentation:
If path2
does not include a root (for example, if path2
does not start with a separator character or a drive specification), the result is a concatenation of the two paths, with an intervening separator character. If path2
includes a root, path2
is returned.
In your case, path2
did contain a root, so it was returned without looking at path1
.