Skip to content

Commit d4e78da

Browse files
committed
Version update
1 parent 6101ff4 commit d4e78da

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

Virtual_EDW/CustomTabPage.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Drawing;
55
using System.IO;
66
using System.Linq;
7+
using System.Text.Json.Nodes;
78
using System.Text.RegularExpressions;
89
using System.Windows.Forms;
910
using HandlebarsDotNet;
@@ -593,7 +594,12 @@ private void GenerateFromTemplate()
593594
{
594595
// Compile the template, and merge it with the metadata.
595596
var template = Handlebars.Compile(localRichTextBoxGenerationTemplate.Text);
596-
var result = template(dataObjectMappingList);
597+
598+
//string serializedMapping = System.Text.Json.JsonSerializer.Serialize(dataObjectMappingList);
599+
string jsonInput = File.ReadAllText(dataObjectMappingList.metadataFileName);
600+
JsonNode deserializedMapping = System.Text.Json.JsonSerializer.Deserialize<JsonNode>(jsonInput);
601+
602+
var result = template(deserializedMapping);
597603

598604
// Check if the metadata needs to be displayed.
599605
if (DisplayJsonFlag)

Virtual_EDW/Form_Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public FormMain()
3131
InitializeComponent();
3232

3333
// Set the version of the build for everything
34-
const string versionNumberForApplication = "v1.6.11";
34+
const string versionNumberForApplication = "v1.6.12";
3535

3636
Text = $"Virtual Data Warehouse - {versionNumberForApplication}";
3737
labelWelcome.Text = $"{labelWelcome.Text} - {versionNumberForApplication}";
@@ -649,7 +649,7 @@ internal List<LocalTemplate> GetMetadata()
649649
// Validate the file contents against the schema definition.
650650
if (File.Exists(Application.StartupPath + @"\Schema\" + GlobalParameters.JsonSchemaForDataWarehouseAutomationFileName))
651651
{
652-
var result = JsonHandling.ValidateJsonFileAgainstSchema(Application.StartupPath + @"\Schema\" + GlobalParameters.JsonSchemaForDataWarehouseAutomationFileName, fileName);
652+
var result = JsonValidation.ValidateJsonFileAgainstSchema(Application.StartupPath + @"\Schema\" + GlobalParameters.JsonSchemaForDataWarehouseAutomationFileName, fileName);
653653

654654
foreach (var error in result.Errors)
655655
{

Virtual_EDW/Virtual_Data_Warehouse.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@
572572
</ItemGroup>
573573
<ItemGroup>
574574
<PackageReference Include="DataWarehouseAutomation">
575-
<Version>1.2.5</Version>
575+
<Version>1.3.3</Version>
576576
</PackageReference>
577577
<PackageReference Include="Handlebars.Net">
578578
<Version>2.1.4</Version>
@@ -581,17 +581,17 @@
581581
<Version>5.1.1</Version>
582582
</PackageReference>
583583
<PackageReference Include="Microsoft.Identity.Client">
584-
<Version>4.53.0</Version>
584+
<Version>4.55.0</Version>
585585
</PackageReference>
586586
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects">
587-
<Version>170.13.0</Version>
587+
<Version>170.18.0</Version>
588588
</PackageReference>
589589
<PackageReference Include="Newtonsoft.Json">
590590
<Version>13.0.3</Version>
591591
</PackageReference>
592592
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.421302">
593593
<PrivateAssets>all</PrivateAssets>
594594
</PackageReference>
595-
<PackageReference Include="Microsoft.Windows.Compatibility" Version="7.0.1" />
595+
<PackageReference Include="Microsoft.Windows.Compatibility" Version="7.0.4" />
596596
</ItemGroup>
597597
</Project>

Virtual_EDW_Installer/Virtual_EDW_Installer.vdproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
{
134134
"Name" = "8:.NET Framework"
135135
"Message" = "8:[VSDNETMSG]"
136-
"FrameworkVersion" = "8:v4.6.1 "
136+
"FrameworkVersion" = "8:v4.6.1 "
137137
"AllowLaterVersions" = "11:FALSE"
138138
"InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=671728"
139139
}
@@ -281,15 +281,15 @@
281281
{
282282
"Name" = "8:Microsoft Visual Studio"
283283
"ProductName" = "8:Virtual Data Warehouse"
284-
"ProductCode" = "8:{4AF00EF6-A639-439D-8013-7D626835C38A}"
285-
"PackageCode" = "8:{220173E5-C92A-434F-8C45-FBE967536476}"
284+
"ProductCode" = "8:{DD960107-BA0D-4688-8E13-E6AE94F99C4D}"
285+
"PackageCode" = "8:{0DB81DFB-67C0-459F-8217-BD7FB3D86EB7}"
286286
"UpgradeCode" = "8:{CAA37576-CF3A-4799-AF70-44CB58934E54}"
287287
"AspNetVersion" = "8:4.0.30319.0"
288288
"RestartWWWService" = "11:FALSE"
289289
"RemovePreviousVersions" = "11:FALSE"
290290
"DetectNewerInstalledVersion" = "11:TRUE"
291291
"InstallAllUsers" = "11:TRUE"
292-
"ProductVersion" = "8:1.6.11"
292+
"ProductVersion" = "8:1.6.12"
293293
"Manufacturer" = "8:RoelantVos"
294294
"ARPHELPTELEPHONE" = "8:"
295295
"ARPHELPLINK" = "8:http://www.roelantvos.com/blog"

0 commit comments

Comments
 (0)