diff --git a/ListWidget/App_Start/RazorGeneratorMvcStart.cs b/ListWidget/App_Start/RazorGeneratorMvcStart.cs new file mode 100644 index 00000000..fe3c2e3e --- /dev/null +++ b/ListWidget/App_Start/RazorGeneratorMvcStart.cs @@ -0,0 +1,21 @@ +using System.Web; +using System.Web.Mvc; +using System.Web.WebPages; +using RazorGenerator.Mvc; + +[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(ListWidget.RazorGeneratorMvcStart), "Start")] + +namespace ListWidget { + public static class RazorGeneratorMvcStart { + public static void Start() { + var engine = new PrecompiledMvcEngine(typeof(RazorGeneratorMvcStart).Assembly) { + UsePhysicalViewsIfNewer = HttpContext.Current.Request.IsLocal + }; + + ViewEngines.Engines.Insert(0, engine); + + // StartPage lookups are done by WebPages. + VirtualPathFactoryManager.RegisterVirtualPathFactory(engine); + } + } +} diff --git a/ListWidget/ListWidget.csproj b/ListWidget/ListWidget.csproj index eeaf3806..d5caa48c 100644 --- a/ListWidget/ListWidget.csproj +++ b/ListWidget/ListWidget.csproj @@ -42,9 +42,15 @@ packages\Ninject.3.2.2.0\lib\net40\Ninject.dll + + packages\Ninject.Web.Common.3.2.3.0\lib\net45-full\Ninject.Web.Common.dll + packages\Sitefinity.RazorEngine.3.0.8.0\lib\net40\RazorEngine.dll + + packages\RazorGenerator.Mvc.2.3.12\lib\net40\RazorGenerator.Mvc.dll + @@ -78,11 +84,16 @@ - - packages\Telerik.Sitefinity.Feather.Core.1.4.360.0\lib\net45\Telerik.Sitefinity.Frontend.dll + + False + packages\Telerik.Sitefinity.Feather.Core.1.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.dll - - packages\Telerik.Sitefinity.Mvc.1.4.360.0\lib\net45\Telerik.Sitefinity.Mvc.dll + + packages\Telerik.Sitefinity.Feather.Core.1.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.Data.dll + + + False + packages\Telerik.Sitefinity.Mvc.1.5.470.0\lib\net45\Telerik.Sitefinity.Mvc.dll packages\Telerik.Web.UI.2014.2.618.40\lib\net40\Telerik.Web.Design.dll @@ -97,8 +108,12 @@ packages\Telerik.Web.UI.2014.2.618.40\lib\net40\Telerik.Web.UI.Skins.dll + + packages\WebActivatorEx.2.0.3\lib\net40\WebActivatorEx.dll + + diff --git a/ListWidget/ListWidget.sln.GhostDoc.xml b/ListWidget/ListWidget.sln.GhostDoc.xml new file mode 100644 index 00000000..0c987e9b --- /dev/null +++ b/ListWidget/ListWidget.sln.GhostDoc.xml @@ -0,0 +1,6 @@ + + + *.min.js + jquery*.js + + diff --git a/ListWidget/app.config b/ListWidget/app.config index ec225399..b2b65a9a 100644 --- a/ListWidget/app.config +++ b/ListWidget/app.config @@ -1,11 +1,19 @@ - + - - + + + + + + + + + + - + diff --git a/ListWidget/packages.config b/ListWidget/packages.config index 8e69b4b1..6856ba0c 100644 --- a/ListWidget/packages.config +++ b/ListWidget/packages.config @@ -5,8 +5,11 @@ + + - - + + + \ No newline at end of file diff --git a/ReCaptcha/ReCaptcha.sln.GhostDoc.xml b/ReCaptcha/ReCaptcha.sln.GhostDoc.xml new file mode 100644 index 00000000..0c987e9b --- /dev/null +++ b/ReCaptcha/ReCaptcha.sln.GhostDoc.xml @@ -0,0 +1,6 @@ + + + *.min.js + jquery*.js + +