From 95c99e971d480b99748015715fffd4cef6301539 Mon Sep 17 00:00:00 2001 From: danielpalme Date: Thu, 9 Mar 2017 21:10:37 +0100 Subject: [PATCH] Fixed #87: Fixed history coverage file generation --- Readme.txt | 4 ++++ ReportGenerator.Reporting/Properties/AssemblyInfo.cs | 4 ++-- ReportGenerator/Properties/AssemblyInfo.cs | 4 ++-- ReportGenerator/Reporting/History/HistoryReportGenerator.cs | 2 ++ ReportGeneratorTest/Properties/AssemblyInfo.cs | 4 ++-- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Readme.txt b/Readme.txt index 156f39e4..9347c1b1 100644 --- a/Readme.txt +++ b/Readme.txt @@ -61,6 +61,10 @@ For further details take a look at LICENSE.txt. CHANGELOG +2.5.6.0 + + * Fix: Issue #87: Fixed history coverage file generation + 2.5.5.0 * Fix: Issue #85: Added new verbosity levels: Warning, Off diff --git a/ReportGenerator.Reporting/Properties/AssemblyInfo.cs b/ReportGenerator.Reporting/Properties/AssemblyInfo.cs index eeee5288..9bc0f4c0 100644 --- a/ReportGenerator.Reporting/Properties/AssemblyInfo.cs +++ b/ReportGenerator.Reporting/Properties/AssemblyInfo.cs @@ -32,7 +32,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.5.5.0")] -[assembly: AssemblyFileVersion("2.5.5.0")] +[assembly: AssemblyVersion("2.5.6.0")] +[assembly: AssemblyFileVersion("2.5.6.0")] [assembly: CLSCompliant(true)] \ No newline at end of file diff --git a/ReportGenerator/Properties/AssemblyInfo.cs b/ReportGenerator/Properties/AssemblyInfo.cs index 12658af6..6e1daf45 100644 --- a/ReportGenerator/Properties/AssemblyInfo.cs +++ b/ReportGenerator/Properties/AssemblyInfo.cs @@ -33,8 +33,8 @@ // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.5.5.0")] -[assembly: AssemblyFileVersion("2.5.5.0")] +[assembly: AssemblyVersion("2.5.6.0")] +[assembly: AssemblyFileVersion("2.5.6.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] [assembly: CLSCompliant(true)] diff --git a/ReportGenerator/Reporting/History/HistoryReportGenerator.cs b/ReportGenerator/Reporting/History/HistoryReportGenerator.cs index 023c381d..2ee76747 100644 --- a/ReportGenerator/Reporting/History/HistoryReportGenerator.cs +++ b/ReportGenerator/Reporting/History/HistoryReportGenerator.cs @@ -89,6 +89,8 @@ internal void CreateReport(IEnumerable assemblies, DateTime executionT { using (var stream = new MemoryStream()) { + document.Save(stream); + stream.Position = 0; this.historyStorage.SaveFile(stream, fileName); } } diff --git a/ReportGeneratorTest/Properties/AssemblyInfo.cs b/ReportGeneratorTest/Properties/AssemblyInfo.cs index 5d299e84..586da1aa 100644 --- a/ReportGeneratorTest/Properties/AssemblyInfo.cs +++ b/ReportGeneratorTest/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.5.5.0")] -[assembly: AssemblyFileVersion("2.5.5.0")] +[assembly: AssemblyVersion("2.5.6.0")] +[assembly: AssemblyFileVersion("2.5.6.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")]