public Site(string profilePath)
{
_profilePath = profilePath;
_settings = new PublishSettings(_profilePath);
string rootPath = Path.GetDirectoryName(_profilePath);
_sitePath = Path.Combine(rootPath, _settings.SiteName);
if (!FileHelper.FileSystem.Directory.Exists(_sitePath))
{
FileHelper.FileSystem.Directory.CreateDirectory(_sitePath);
}
}