From c4ecbd9e5bf03184a6014cf1574d255ac0167490 Mon Sep 17 00:00:00 2001 From: dzhenko Date: Tue, 22 Mar 2016 18:03:07 +0200 Subject: [PATCH] AuthorWidget --- AuthorWidget/AuthorWidget.sln.GhostDoc.xml | 6 + .../App_Start/RazorGeneratorMvcStart.cs | 21 ++++ AuthorWidget/AuthorWidget/AuthorWidget.csproj | 105 ++++++++++-------- .../AuthorWidget/OpenAccessNuGet.targets | 7 +- AuthorWidget/AuthorWidget/app.config | 8 ++ AuthorWidget/AuthorWidget/packages.config | 25 +++-- 6 files changed, 113 insertions(+), 59 deletions(-) create mode 100644 AuthorWidget/AuthorWidget.sln.GhostDoc.xml create mode 100644 AuthorWidget/AuthorWidget/App_Start/RazorGeneratorMvcStart.cs diff --git a/AuthorWidget/AuthorWidget.sln.GhostDoc.xml b/AuthorWidget/AuthorWidget.sln.GhostDoc.xml new file mode 100644 index 00000000..0c987e9b --- /dev/null +++ b/AuthorWidget/AuthorWidget.sln.GhostDoc.xml @@ -0,0 +1,6 @@ + + + *.min.js + jquery*.js + + 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..f2e84cbf 100644 --- a/AuthorWidget/AuthorWidget/AuthorWidget.csproj +++ b/AuthorWidget/AuthorWidget/AuthorWidget.csproj @@ -11,7 +11,7 @@ AuthorWidget v4.5 512 - $(SolutionDir)\packages\Telerik.DataAccess.Fluent.2015.3.926.1\tools\enhancer\enhancer.exe + $(SolutionDir)\packages\Telerik.DataAccess.Fluent.2016.1.224.1\tools\enhancer\enhancer.exe true @@ -43,29 +43,35 @@ 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 + ..\packages\ServiceStack.Signed.4.0.52\lib\net40\ServiceStack.dll False - ..\packages\ServiceStack.Client.Signed.4.0.44\lib\net40\ServiceStack.Client.dll + ..\packages\ServiceStack.Client.Signed.4.0.52\lib\net40\ServiceStack.Client.dll False - ..\packages\ServiceStack.Common.Signed.4.0.44\lib\net40\ServiceStack.Common.dll + ..\packages\ServiceStack.Common.Signed.4.0.52\lib\net40\ServiceStack.Common.dll False - ..\packages\ServiceStack.Interfaces.4.0.44\lib\portable-wp80+sl5+net40+win8+monotouch+monoandroid+xamarin.ios10\ServiceStack.Interfaces.dll + ..\packages\ServiceStack.Interfaces.4.0.52\lib\portable-wp80+sl5+net40+win8+monotouch+monoandroid+xamarin.ios10\ServiceStack.Interfaces.dll False - ..\packages\ServiceStack.Text.Signed.4.0.44\lib\net40\ServiceStack.Text.dll + ..\packages\ServiceStack.Text.Signed.4.0.52\lib\net40\ServiceStack.Text.dll @@ -101,88 +107,95 @@ - + False - ..\packages\Telerik.DataAccess.Core.2015.3.926.1\lib\net40\Telerik.OpenAccess.dll + ..\packages\Telerik.DataAccess.Core.2016.1.224.1\lib\net40\Telerik.OpenAccess.dll - + False - ..\packages\Telerik.DataAccess.Core.2015.3.926.1\lib\net40\Telerik.OpenAccess.35.Extensions.dll + ..\packages\Telerik.DataAccess.Core.2016.1.224.1\lib\net40\Telerik.OpenAccess.35.Extensions.dll - + False - ..\packages\Telerik.DataAccess.Core.2015.3.926.1\lib\net40\Telerik.OpenAccess.40.Extensions.dll + ..\packages\Telerik.DataAccess.Core.2016.1.224.1\lib\net40\Telerik.OpenAccess.40.Extensions.dll - + False - ..\packages\Telerik.DataAccess.Core.2015.3.926.1\lib\net40\Telerik.OpenAccess.Runtime.dll + ..\packages\Telerik.DataAccess.Core.2016.1.224.1\lib\net40\Telerik.OpenAccess.Runtime.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.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.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.dll - + + ..\packages\Telerik.Sitefinity.Feather.Core.StandAlone.1.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.Data.dll + + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Model.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.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.5.470.0\lib\net45\Telerik.Sitefinity.Mvc.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Personalization.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Personalization.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Resources.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Resources.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Search.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Search.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Comments.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Comments.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Documents.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Documents.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Events.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Events.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Notifications.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Notifications.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Statistics.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Statistics.dll - + False - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Utilities.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Utilities.dll - + False - ..\packages\Telerik.Web.UI.2015.3.930.40\lib\net40\Telerik.Web.Design.dll + ..\packages\Telerik.Web.UI.2016.1.225.40\lib\net40\Telerik.Web.Design.dll - + False - ..\packages\Telerik.Web.UI.2015.3.930.40\lib\net40\Telerik.Web.UI.dll + ..\packages\Telerik.Web.UI.2016.1.225.40\lib\net40\Telerik.Web.UI.dll - + False - ..\packages\Telerik.Web.UI.2015.3.930.40\lib\net40\Telerik.Web.UI.Skins.dll + ..\packages\Telerik.Web.UI.2016.1.225.40\lib\net40\Telerik.Web.UI.Skins.dll + + + ..\packages\WebActivatorEx.2.0.3\lib\net40\WebActivatorEx.dll + diff --git a/AuthorWidget/AuthorWidget/OpenAccessNuGet.targets b/AuthorWidget/AuthorWidget/OpenAccessNuGet.targets index c1c06da8..8891677d 100644 --- a/AuthorWidget/AuthorWidget/OpenAccessNuGet.targets +++ b/AuthorWidget/AuthorWidget/OpenAccessNuGet.targets @@ -25,6 +25,7 @@ Copyright (C) 2007-2015 Telerik AD. All rights reserved. 3 true false + false @@ -99,7 +100,8 @@ Copyright (C) 2007-2015 Telerik AD. All rights reserved. -keyFile:"$(AssemblyOriginatorKeyFile)" -keyContainer:"$(KeyContainerName)" -reference:"@(ReferencePath,'" -reference:"')" - $(EnhancerMappingArgs)$(KeyFileArg)$(KeyContainerArg)$(ReferencesArgs) + -DoNotCheckVersionOfReferencedAssembliesArgs+ + $(EnhancerMappingArgs)$(KeyFileArg)$(KeyContainerArg)$(ReferencesArgs)$(DoNotCheckVersionOfReferencedAssembliesArgs) @@ -115,7 +117,8 @@ Copyright (C) 2007-2015 Telerik AD. All rights reserved. KeyFile="$(AssemblyOriginatorKeyFile)" KeyContainer="$(KeyContainerName)" References="@(ReferencePath)" - TargetFramework="$(TargetFrameworkVersion)" > + TargetFramework="$(TargetFrameworkVersion)" + DoNotCheckVersionOfReferencedAssemblies="$(EnhancerDoNotCheckVersionOfReferencedAssemblies)"> diff --git a/AuthorWidget/AuthorWidget/app.config b/AuthorWidget/AuthorWidget/app.config index 239c4798..308e9585 100644 --- a/AuthorWidget/AuthorWidget/app.config +++ b/AuthorWidget/AuthorWidget/app.config @@ -18,6 +18,14 @@ + + + + + + + + \ No newline at end of file diff --git a/AuthorWidget/AuthorWidget/packages.config b/AuthorWidget/AuthorWidget/packages.config index e19d5234..49aac5eb 100644 --- a/AuthorWidget/AuthorWidget/packages.config +++ b/AuthorWidget/AuthorWidget/packages.config @@ -6,16 +6,19 @@ - - - - - + + + + + + + - - - - - - + + + + + + + \ No newline at end of file