Error rendering the following component: {0}
", - HttpUtility.HtmlEncode(_renderingItem.Name), - HttpUtility.HtmlEncode(ex)); - Log.Error(ex.Message, ex, typeof(PageEditorRendererDecorator)); - } - } - else - { - _innerRenderer.Render(writer); - } - } - } + public override void Render(TextWriter writer) + { + try + { + _innerRenderer.Render(writer); + } + catch (Exception ex) + { + writer.Write("Error rendering the following component: {0}
", + HttpUtility.HtmlEncode(_renderingItem.Name), + HttpUtility.HtmlEncode(ex)); + Log.Error(ex.Message, ex, typeof(PageEditorRendererDecorator)); + } + } + } } diff --git a/src/Jabberwocky.Autofac/Properties/AssemblyInfo.cs b/src/Jabberwocky.Autofac/Properties/AssemblyInfo.cs index 082fa5d..20b7ed8 100644 --- a/src/Jabberwocky.Autofac/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Autofac/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.Core/Properties/AssemblyInfo.cs b/src/Jabberwocky.Core/Properties/AssemblyInfo.cs index 722d0e4..94156c7 100644 --- a/src/Jabberwocky.Core/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Core/Properties/AssemblyInfo.cs @@ -34,5 +34,5 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] [assembly: InternalsVisibleTo("Jabberwocky.Core.Tests")] \ No newline at end of file diff --git a/src/Jabberwocky.DependencyInjection.Sc/Properties/AssemblyInfo.cs b/src/Jabberwocky.DependencyInjection.Sc/Properties/AssemblyInfo.cs index b4c380f..a73ebf3 100644 --- a/src/Jabberwocky.DependencyInjection.Sc/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.DependencyInjection.Sc/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.DependencyInjection/Properties/AssemblyInfo.cs b/src/Jabberwocky.DependencyInjection/Properties/AssemblyInfo.cs index 751804c..8cac8cc 100644 --- a/src/Jabberwocky.DependencyInjection/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.DependencyInjection/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.Glass.Autofac.Mvc/Properties/AssemblyInfo.cs b/src/Jabberwocky.Glass.Autofac.Mvc/Properties/AssemblyInfo.cs index b0f245f..e2b84b6 100644 --- a/src/Jabberwocky.Glass.Autofac.Mvc/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Glass.Autofac.Mvc/Properties/AssemblyInfo.cs @@ -34,6 +34,6 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] [assembly: InternalsVisibleTo("Jabberwocky.Glass.Autofac.Mvc.Tests")] \ No newline at end of file diff --git a/src/Jabberwocky.Glass.Autofac.WebApi/Properties/AssemblyInfo.cs b/src/Jabberwocky.Glass.Autofac.WebApi/Properties/AssemblyInfo.cs index c8df40c..c1477da 100644 --- a/src/Jabberwocky.Glass.Autofac.WebApi/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Glass.Autofac.WebApi/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.Glass.Autofac/Properties/AssemblyInfo.cs b/src/Jabberwocky.Glass.Autofac/Properties/AssemblyInfo.cs index 3ea985b..ed80a40 100644 --- a/src/Jabberwocky.Glass.Autofac/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Glass.Autofac/Properties/AssemblyInfo.cs @@ -34,7 +34,7 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] [assembly: InternalsVisibleTo("Jabberwocky.Glass.Autofac.Mvc")] [assembly: InternalsVisibleTo("Jabberwocky.Glass.Autofac.WebApi")] diff --git a/src/Jabberwocky.Glass.Mvc/Properties/AssemblyInfo.cs b/src/Jabberwocky.Glass.Mvc/Properties/AssemblyInfo.cs index d09986e..9b2470d 100644 --- a/src/Jabberwocky.Glass.Mvc/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Glass.Mvc/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.Glass/Properties/AssemblyInfo.cs b/src/Jabberwocky.Glass/Properties/AssemblyInfo.cs index 4582a4b..d42314d 100644 --- a/src/Jabberwocky.Glass/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.Glass/Properties/AssemblyInfo.cs @@ -34,6 +34,6 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] [assembly: InternalsVisibleTo("Jabberwocky.Glass.Tests")] [assembly: InternalsVisibleTo("Jabberwocky.Glass.Autofac")] diff --git a/src/Jabberwocky.WebApi.Sc/Properties/AssemblyInfo.cs b/src/Jabberwocky.WebApi.Sc/Properties/AssemblyInfo.cs index e3672df..be68ef0 100644 --- a/src/Jabberwocky.WebApi.Sc/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.WebApi.Sc/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/src/Jabberwocky.WebApi/Properties/AssemblyInfo.cs b/src/Jabberwocky.WebApi/Properties/AssemblyInfo.cs index 63c2b53..6a393b1 100644 --- a/src/Jabberwocky.WebApi/Properties/AssemblyInfo.cs +++ b/src/Jabberwocky.WebApi/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] -[assembly: AssemblyInformationalVersion("2.0.0-beta")] +[assembly: AssemblyInformationalVersion("2.0.0")] diff --git a/tools/Nuget/nuget.bat b/tools/Nuget/nuget.bat index 62dc05c..2256bf9 100644 --- a/tools/Nuget/nuget.bat +++ b/tools/Nuget/nuget.bat @@ -5,10 +5,10 @@ set projfile=!projfile:nuspec=csproj! ..\..\.nuget\NuGet.exe pack !projfile! -IncludeReferencedProjects -symbols -Build -OutputDirectory . -Prop Configuration=Release ) -..\..\.nuget\NuGet.exe pack ..\..\Jabberwocky.Library.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . +..\..\.nuget\NuGet.exe pack ..\..\Jabberwocky.Library.nuspec -NoPackageAnalysis -Version 2.0.0 -OutputDirectory . -..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . -Prop Configuration=Release -..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . -Prop Configuration=Release +..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0 -OutputDirectory . -Prop Configuration=Release +..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0 -OutputDirectory . -Prop Configuration=Release REM - Copy symbol sources to 'symbols' directory mkdir symbols