mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Correcting themes code generation
- "Touching" the solution when adding the theme to Themes.csproj also --HG-- branch : dev
This commit is contained in:
@@ -302,6 +302,7 @@ namespace Orchard.CodeGeneration.Commands {
|
|||||||
// include in solution but dont create a project: just add the references to Orchard.Themes project
|
// include in solution but dont create a project: just add the references to Orchard.Themes project
|
||||||
var itemGroup = CreateProjectItemGroup(HostingEnvironment.MapPath("~/Themes/"), createdFiles, createdFolders);
|
var itemGroup = CreateProjectItemGroup(HostingEnvironment.MapPath("~/Themes/"), createdFiles, createdFolders);
|
||||||
AddFilesToOrchardThemesProject(output, itemGroup);
|
AddFilesToOrchardThemesProject(output, itemGroup);
|
||||||
|
TouchSolution(output);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// create a project (already done) and add it to the solution
|
// create a project (already done) and add it to the solution
|
||||||
|
Reference in New Issue
Block a user