From feb927485debbba1c1fbb2dff64cc31ef2c1d904 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Sat, 19 Feb 2011 16:02:47 -0800 Subject: [PATCH] Support for running and debugging Azure.Web in Visual Studio We need to copy contents files from Modules, Themes and Core directory of Orchard.Web into the respective directory in Orchard.Azure.Web. This is because when running Orchard.Azure.Web in Visual Studio, the web application runs from the Orchard.Azure.Web directory. Also update .hgignore file to ignore these directories. --HG-- branch : dev extra : transplant_source : %BB%F5j%1ANvL%B2g%2C%7EQ%3A%10VT%EA%D7%28%B5 --- .hgignore | 3 ++ AzurePackage.proj | 2 +- .../CopyModulesAndThemes.proj | 44 +++++++++++++++++++ .../Orchard.Azure.Web.csproj | 5 ++- 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 src/Orchard.Azure/Orchard.Azure.Web/CopyModulesAndThemes.proj diff --git a/.hgignore b/.hgignore index 1b0df607b..26f8826f4 100644 --- a/.hgignore +++ b/.hgignore @@ -21,3 +21,6 @@ glob:*.suo glob:src/Orchard.Web/Modules-temp/* glob:*.itrace.csdef glob:*.build.csdef +glob:src/Orchard.Azure/Orchard.Azure.Web/Core +glob:src/Orchard.Azure/Orchard.Azure.Web/Modules +glob:src/Orchard.Azure/Orchard.Azure.Web/Themes diff --git a/AzurePackage.proj b/AzurePackage.proj index 1d2a466f2..1e85b80b3 100644 --- a/AzurePackage.proj +++ b/AzurePackage.proj @@ -1,5 +1,5 @@ - + diff --git a/src/Orchard.Azure/Orchard.Azure.Web/CopyModulesAndThemes.proj b/src/Orchard.Azure/Orchard.Azure.Web/CopyModulesAndThemes.proj new file mode 100644 index 000000000..fe479004f --- /dev/null +++ b/src/Orchard.Azure/Orchard.Azure.Web/CopyModulesAndThemes.proj @@ -0,0 +1,44 @@ + + + + + + + $(MSBuildProjectDirectory)\..\..\Orchard.Web + $(MSBuildProjectDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj b/src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj index 9f81d4831..55bf9ec3d 100644 --- a/src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj +++ b/src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj @@ -321,9 +321,12 @@ Other similar extension points exist, see Microsoft.Common.targets. --> - + + + +