diff --git a/AuthorWidget/AuthorWidget/App_Start/RazorGeneratorMvcStart.cs b/AuthorWidget/AuthorWidget/App_Start/RazorGeneratorMvcStart.cs new file mode 100644 index 00000000..dc4b9ebd --- /dev/null +++ b/AuthorWidget/AuthorWidget/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(AuthorWidget.RazorGeneratorMvcStart), "Start")] + +namespace AuthorWidget { + 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/AuthorWidget/AuthorWidget/AuthorWidget.csproj b/AuthorWidget/AuthorWidget/AuthorWidget.csproj index a648749d..8eb45420 100644 --- a/AuthorWidget/AuthorWidget/AuthorWidget.csproj +++ b/AuthorWidget/AuthorWidget/AuthorWidget.csproj @@ -43,10 +43,16 @@ False ..\packages\Ninject.3.2.2.0\lib\net45-full\Ninject.dll + + ..\packages\Ninject.Web.Common.3.2.3.0\lib\net45-full\Ninject.Web.Common.dll + False ..\packages\Sitefinity.RazorEngine.3.0.8.0\lib\net40\RazorEngine.dll + + ..\packages\RazorGenerator.Mvc.2.3.12\lib\net40\RazorGenerator.Mvc.dll + False ..\packages\ServiceStack.Signed.4.0.44\lib\net40\ServiceStack.dll @@ -121,17 +127,20 @@ False ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.dll - + False - ..\packages\Telerik.Sitefinity.Feather.Core.StandAlone.1.4.400.0\lib\net45\Telerik.Sitefinity.Frontend.dll + ..\packages\Telerik.Sitefinity.Feather.Core.StandAlone.1.4.460.0\lib\net45\Telerik.Sitefinity.Frontend.dll + + + ..\packages\Telerik.Sitefinity.Feather.Core.StandAlone.1.4.460.0\lib\net45\Telerik.Sitefinity.Frontend.Data.dll False ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Model.dll - + False - ..\packages\Telerik.Sitefinity.Mvc.1.4.400.0\lib\net45\Telerik.Sitefinity.Mvc.dll + ..\packages\Telerik.Sitefinity.Mvc.1.4.460.0\lib\net45\Telerik.Sitefinity.Mvc.dll False @@ -181,8 +190,12 @@ False ..\packages\Telerik.Web.UI.2015.3.930.40\lib\net40\Telerik.Web.UI.Skins.dll + + ..\packages\WebActivatorEx.2.0.3\lib\net40\WebActivatorEx.dll + + diff --git a/AuthorWidget/AuthorWidget/app.config b/AuthorWidget/AuthorWidget/app.config index 239c4798..1fe3864c 100644 --- a/AuthorWidget/AuthorWidget/app.config +++ b/AuthorWidget/AuthorWidget/app.config @@ -8,16 +8,24 @@ - + - + + + + + + + + + \ No newline at end of file diff --git a/AuthorWidget/AuthorWidget/packages.config b/AuthorWidget/AuthorWidget/packages.config index e19d5234..ac8c3092 100644 --- a/AuthorWidget/AuthorWidget/packages.config +++ b/AuthorWidget/AuthorWidget/packages.config @@ -6,6 +6,8 @@ + + @@ -15,7 +17,8 @@ - - + + + \ No newline at end of file diff --git a/CustomImageWidget/CustomImageWidget.sln.GhostDoc.xml b/CustomImageWidget/CustomImageWidget.sln.GhostDoc.xml new file mode 100644 index 00000000..0c987e9b --- /dev/null +++ b/CustomImageWidget/CustomImageWidget.sln.GhostDoc.xml @@ -0,0 +1,6 @@ + + + *.min.js + jquery*.js + +