From 1364a5fcd2773216d6bd395351a961bf1fa36665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Ros?= Date: Tue, 2 Nov 2010 22:31:43 -0700 Subject: [PATCH] Correcting themes code generation - "Touching" the solution when adding the theme to Themes.csproj also --HG-- branch : dev --- .../Orchard.CodeGeneration/Commands/CodeGenerationCommands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Orchard.Web/Modules/Orchard.CodeGeneration/Commands/CodeGenerationCommands.cs b/src/Orchard.Web/Modules/Orchard.CodeGeneration/Commands/CodeGenerationCommands.cs index 94e6fe992..edd77bbef 100644 --- a/src/Orchard.Web/Modules/Orchard.CodeGeneration/Commands/CodeGenerationCommands.cs +++ b/src/Orchard.Web/Modules/Orchard.CodeGeneration/Commands/CodeGenerationCommands.cs @@ -302,6 +302,7 @@ namespace Orchard.CodeGeneration.Commands { // include in solution but dont create a project: just add the references to Orchard.Themes project var itemGroup = CreateProjectItemGroup(HostingEnvironment.MapPath("~/Themes/"), createdFiles, createdFolders); AddFilesToOrchardThemesProject(output, itemGroup); + TouchSolution(output); } else { // create a project (already done) and add it to the solution