From 79e18b56dce15262a660e88d6dd012f17062f8ce Mon Sep 17 00:00:00 2001 From: Robert Dima Date: Wed, 13 Oct 2021 13:16:46 +0300 Subject: [PATCH] Pass the Package Version to XmlMerge when updating AssemblyInstaller bindings. --- .../Library/Services/Installer/Installers/AssemblyInstaller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DNN Platform/Library/Services/Installer/Installers/AssemblyInstaller.cs b/DNN Platform/Library/Services/Installer/Installers/AssemblyInstaller.cs index 353387e54f9..f37484e5f62 100644 --- a/DNN Platform/Library/Services/Installer/Installers/AssemblyInstaller.cs +++ b/DNN Platform/Library/Services/Installer/Installers/AssemblyInstaller.cs @@ -308,7 +308,7 @@ private bool ApplyXmlMerge(InstallFile file, string xmlMergeFile) var xmlMergePath = Path.Combine(Globals.InstallMapPath, "Config", xmlMergeFile); var xmlMergeDoc = GetXmlMergeDoc(xmlMergePath, name, publicKeyToken, OldVersion, newVersion); - var xmlMerge = new XmlMerge(xmlMergeDoc, file.Version.ToString(), this.Package.Name); + var xmlMerge = new XmlMerge(xmlMergeDoc, this.Package.Version.ToString(), this.Package.Name); xmlMerge.UpdateConfigs(); return true;