Handle the msbuild copy in two steps, so we can override the wwwroot/umbraco folder from outside, using the following in the project csproj.

<PropertyGroup>
        <UmbracoWwwrootName>my-secret-loginpanel</UmbracoWwwrootName>
    </PropertyGroup>

    it will now copy to wwwroot/my-secret-loginpanel instead of wwwroot/umbraco
This commit is contained in:
Bjarke Berg
2021-09-01 10:57:21 +02:00
parent 5953c9ebe7
commit 2876d0b179
2 changed files with 12 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ namespace Umbraco.Cms.Web.BackOffice.Install
await _installHelper.SetInstallStatusAsync(false, "");
return View(Path.Combine(baseFolder , Cms.Core.Constants.Web.Mvc.InstallArea, nameof(Index) + ".cshtml"));
return View(Path.Combine(Constants.SystemDirectories.Umbraco.TrimStart("~") , Cms.Core.Constants.Web.Mvc.InstallArea, nameof(Index) + ".cshtml"));
}
/// <summary>