From 355137f9823ccc8ef03a7570a1cb9ab3e45a0c76 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Tue, 19 Nov 2013 15:12:47 +0100 Subject: [PATCH] U4-3469 Umbraco 7 + MVC 4 + nuget, web.config error --- build/Build.bat | 5 +- build/NuSpecs/UmbracoCms.nuspec | 2 +- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 12 +++- src/Umbraco.Web.UI/Views/Web.config | 10 ++-- src/Umbraco.Web.UI/Views/Web.config.transform | 55 ------------------- 5 files changed, 19 insertions(+), 65 deletions(-) delete mode 100644 src/Umbraco.Web.UI/Views/Web.config.transform diff --git a/build/Build.bat b/build/Build.bat index ccbf2cd6ad..f680ebf7b0 100644 --- a/build/Build.bat +++ b/build/Build.bat @@ -1,6 +1,6 @@ @ECHO OFF SET release=7.0.0 -SET comment=RC +SET comment= SET version=%release% IF [%comment%] EQU [] (SET version=%release%) ELSE (SET version=%release%-%comment%) @@ -20,6 +20,9 @@ echo This file is only here so that the containing folder will be included in th echo This file is only here so that the containing folder will be included in the NuGet package, it is safe to delete. > .\_BuildOutput\WebApp\Views\Partials\dummy.txt echo This file is only here so that the containing folder will be included in the NuGet package, it is safe to delete. > .\_BuildOutput\WebApp\Views\MacroPartials\dummy.txt +ren .\_BuildOutput\WebApp\MacroScripts\Web.config Web.config.transform +ren .\_BuildOutput\WebApp\Views\Web.config Web.config.transform + ..\src\.nuget\NuGet.exe pack NuSpecs\UmbracoCms.Core.nuspec -Version %version% ..\src\.nuget\NuGet.exe pack NuSpecs\UmbracoCms.nuspec -Version %version% diff --git a/build/NuSpecs/UmbracoCms.nuspec b/build/NuSpecs/UmbracoCms.nuspec index 858407f80a..f93d2fdc6b 100644 --- a/build/NuSpecs/UmbracoCms.nuspec +++ b/build/NuSpecs/UmbracoCms.nuspec @@ -23,7 +23,7 @@ - + diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 09a3e249b3..74090b00e3 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -656,8 +656,10 @@ 404handlers.config + Designer + appSettings.config ClientDependency.config @@ -669,7 +671,10 @@ BaseRestExtensions.config - + + + connectionStrings.config + log4net.config @@ -713,7 +718,9 @@ Dashboard.config Designer - + + Designer + Designer @@ -2193,7 +2200,6 @@ Designer - Web.Template.config diff --git a/src/Umbraco.Web.UI/Views/Web.config b/src/Umbraco.Web.UI/Views/Web.config index 8600dce5da..edcc9d4b62 100644 --- a/src/Umbraco.Web.UI/Views/Web.config +++ b/src/Umbraco.Web.UI/Views/Web.config @@ -7,7 +7,7 @@
- + @@ -16,10 +16,10 @@ - - - - + + + + diff --git a/src/Umbraco.Web.UI/Views/Web.config.transform b/src/Umbraco.Web.UI/Views/Web.config.transform deleted file mode 100644 index f8333ed8ea..0000000000 --- a/src/Umbraco.Web.UI/Views/Web.config.transform +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -