From dc17a20bb86ada52f53eaeee54231acdaf53f839 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Fri, 15 Jan 2016 17:05:09 +0100 Subject: [PATCH] Adds required namespace + a fake class to make sure the namespace exists --- build/NuSpecs/tools/Views.Web.config.install.xdt | 5 +++++ src/Umbraco.Web.UI/Views/Web.config | 3 +-- src/Umbraco.Web/Models/PublishedContentModels.cs | 12 ++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/Umbraco.Web/Models/PublishedContentModels.cs diff --git a/build/NuSpecs/tools/Views.Web.config.install.xdt b/build/NuSpecs/tools/Views.Web.config.install.xdt index c34963f2b0..a5797232b8 100644 --- a/build/NuSpecs/tools/Views.Web.config.install.xdt +++ b/build/NuSpecs/tools/Views.Web.config.install.xdt @@ -17,6 +17,11 @@ + + + + + diff --git a/src/Umbraco.Web.UI/Views/Web.config b/src/Umbraco.Web.UI/Views/Web.config index 099e017d79..479445713d 100644 --- a/src/Umbraco.Web.UI/Views/Web.config +++ b/src/Umbraco.Web.UI/Views/Web.config @@ -22,8 +22,7 @@ - - + diff --git a/src/Umbraco.Web/Models/PublishedContentModels.cs b/src/Umbraco.Web/Models/PublishedContentModels.cs new file mode 100644 index 0000000000..d6d3cd9973 --- /dev/null +++ b/src/Umbraco.Web/Models/PublishedContentModels.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Umbraco.Web.PublishedContentModels +{ + class Empty + { + } +}