From c273c94d57530d3a76804c22e49e19d19d09608b Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 23 Oct 2014 17:08:35 +0200 Subject: [PATCH] Should fix the build for real now. Sets GenerateSerializationAssemblies to Off which then doesn't produce umbraco.XmlSerializers.dll any more. Should be safe as this is only used for updatechecker and packageinstaller. From: http://hashtagfail.com/post/5255977780/sgen-loaderexceptions-error - "Visual Studio attempts to generate a serialization assembly containing the types in your solution, to improve XmlSerializer serialization performance, should you choose to serialize your types." --- build/Build.proj | 3 --- build/NuSpecs/UmbracoCms.Core.nuspec | 1 - build/NuSpecs/tools/install.core.ps1 | 1 - src/Umbraco.Web/Umbraco.Web.csproj | 2 ++ 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/build/Build.proj b/build/Build.proj index 902de7bdeb..30d794fb3f 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -260,14 +260,11 @@ - - - diff --git a/build/NuSpecs/UmbracoCms.Core.nuspec b/build/NuSpecs/UmbracoCms.Core.nuspec index 95d7de4798..1afcf53efa 100644 --- a/build/NuSpecs/UmbracoCms.Core.nuspec +++ b/build/NuSpecs/UmbracoCms.Core.nuspec @@ -66,7 +66,6 @@ - diff --git a/build/NuSpecs/tools/install.core.ps1 b/build/NuSpecs/tools/install.core.ps1 index 6a42e9bd13..79133a9f6a 100644 --- a/build/NuSpecs/tools/install.core.ps1 +++ b/build/NuSpecs/tools/install.core.ps1 @@ -39,7 +39,6 @@ if ($project) { if(Test-Path $umbracoBinFolder\umbraco.MacroEngines.dll) { Remove-Item $umbracoBinFolder\umbraco.MacroEngines.dll -Force -Confirm:$false } if(Test-Path $umbracoBinFolder\umbraco.providers.dll) { Remove-Item $umbracoBinFolder\umbraco.providers.dll -Force -Confirm:$false } if(Test-Path $umbracoBinFolder\Umbraco.Web.UI.dll) { Remove-Item $umbracoBinFolder\Umbraco.Web.UI.dll -Force -Confirm:$false } - if(Test-Path $umbracoBinFolder\umbraco.XmlSerializers.dll) { Remove-Item $umbracoBinFolder\umbraco.XmlSerializers.dll -Force -Confirm:$false } if(Test-Path $umbracoBinFolder\UmbracoExamine.dll) { Remove-Item $umbracoBinFolder\UmbracoExamine.dll -Force -Confirm:$false } if(Test-Path $umbracoBinFolder\UrlRewritingNet.UrlRewriter.dll) { Remove-Item $umbracoBinFolder\UrlRewritingNet.UrlRewriter.dll -Force -Confirm:$false } diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 4aad562cdb..51bf67db49 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -65,6 +65,7 @@ prompt AllRules.ruleset false + Off bin\Release\ @@ -89,6 +90,7 @@ prompt AllRules.ruleset false + Off