From 6126e9526b6f04a3d0e33b62322d50c922b85a6c Mon Sep 17 00:00:00 2001 From: "shannon@ShandemVaio.home" Date: Wed, 27 Jun 2012 22:59:33 +0400 Subject: [PATCH] Updated all config templates to not be marked as content so they are not output in the build. Updated the build script to ensure that macroEngines, editorControls and webservices are build separately and then copy their output DLLs to the build folder to be zipped up. Ensured that the offset time stuff is working in the build script too. --- build/Build.proj | 107 ++++++++++-------- .../umbraco.MacroEngines.csproj | 2 +- .../umbraco.editorControls.csproj | 2 +- .../umbraco.presentation.csproj | 88 +++++++------- .../web.Template.Release.config | 27 ++--- src/umbraco.presentation/web.Template.config | 7 +- src/umbraco.presentation/web.config | 15 ++- src/umbraco.sln | 1 + .../umbraco.webservices.csproj | 4 +- 9 files changed, 129 insertions(+), 124 deletions(-) diff --git a/build/Build.proj b/build/Build.proj index a2d5123376..ce76256894 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -3,7 +3,7 @@ ..\MSBuildCommunityTasks ..\UmbracoMSBuildTasks - + _BuildOutput\ @@ -19,9 +19,6 @@ $(BuildFolderRelativeToProjects)WebApp\ $(WebAppFolder)**\*.* $(WebAppFolder)**\Web.Template.*;$(WebAppFolder)**\*.pdb - @@ -31,8 +28,7 @@ - - + @@ -41,62 +37,83 @@ --> - - + + - - - - + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - diff --git a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj index cf0acf2f75..efd54d0c50 100644 --- a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj +++ b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj @@ -154,7 +154,7 @@ - xcopy "$(TargetPath)" "$(SolutionDir)\umbraco.presentation\bin\" /Y /F + xcopy "$(TargetPath)" "$(ProjectDir)..\umbraco.presentation\bin\" /Y /F + + + + + - - + + + - - - - - - - \ No newline at end of file diff --git a/src/umbraco.presentation/web.Template.config b/src/umbraco.presentation/web.Template.config index 561144f7d9..e5a1f7e7ac 100644 --- a/src/umbraco.presentation/web.Template.config +++ b/src/umbraco.presentation/web.Template.config @@ -45,7 +45,7 @@ - + @@ -54,7 +54,7 @@ - + @@ -268,6 +268,5 @@ - - + \ No newline at end of file diff --git a/src/umbraco.presentation/web.config b/src/umbraco.presentation/web.config index d6b9b88172..37e5ad4912 100644 --- a/src/umbraco.presentation/web.config +++ b/src/umbraco.presentation/web.config @@ -45,7 +45,7 @@ - + @@ -54,8 +54,8 @@ - - + + @@ -90,8 +90,8 @@ - - + + @@ -129,7 +129,7 @@ - + @@ -268,6 +268,5 @@ - - + \ No newline at end of file diff --git a/src/umbraco.sln b/src/umbraco.sln index 7c4cfef841..473de775a6 100644 --- a/src/umbraco.sln +++ b/src/umbraco.sln @@ -39,6 +39,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{2849E9D4 ProjectSection(SolutionItems) = preProject ..\build\Build.bat = ..\build\Build.bat ..\build\Build.proj = ..\build\Build.proj + umbraco.presentation.targets = umbraco.presentation.targets EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{FD962632-184C-4005-A5F3-E705D92FC645}" diff --git a/src/umbraco.webservices/umbraco.webservices.csproj b/src/umbraco.webservices/umbraco.webservices.csproj index e6aadbf9e2..864f7182d1 100644 --- a/src/umbraco.webservices/umbraco.webservices.csproj +++ b/src/umbraco.webservices/umbraco.webservices.csproj @@ -160,7 +160,7 @@ --> - xcopy "$(TargetPath)" "$(SolutionDir)\umbraco.presentation\bin\" /Y /F -xcopy "$(ProjectDir)*.asmx" "$(SolutionDir)\umbraco.presentation\umbraco\webservices\api\" /Y /F + xcopy "$(TargetPath)" "$(ProjectDir)..\umbraco.presentation\bin\" /Y /F +xcopy "$(ProjectDir)*.asmx" "$(ProjectDir)..\umbraco.presentation\umbraco\webservices\api\" /Y /F \ No newline at end of file