diff --git a/src/Umbraco.Web.UI/Views/Web.config b/src/Umbraco.Web.UI/Views/Web.config
index 2920bd300d..c9a74eebb0 100644
--- a/src/Umbraco.Web.UI/Views/Web.config
+++ b/src/Umbraco.Web.UI/Views/Web.config
@@ -39,10 +39,35 @@
-
+
+
+
+
diff --git a/src/Umbraco.Web.UI/web.Template.config b/src/Umbraco.Web.UI/web.Template.config
index a70ab0f8a4..47ae79ab8c 100644
--- a/src/Umbraco.Web.UI/web.Template.config
+++ b/src/Umbraco.Web.UI/web.Template.config
@@ -17,7 +17,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -102,8 +102,8 @@
-
-
+
+
@@ -111,7 +111,7 @@
-
+
@@ -122,7 +122,7 @@
-
+
@@ -173,7 +173,7 @@
-
+
@@ -200,9 +200,9 @@
-
+
-
+
@@ -240,40 +240,40 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -300,11 +300,11 @@
+ compilerOptions="/langversion:7 /nowarn:1659;1699;1701" />
+ type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
+ warningLevel="4"
+ compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>