From 341bbb6c441ca56af7a03fd338a2723c9e5e2360 Mon Sep 17 00:00:00 2001 From: Brian Dukes Date: Wed, 17 Apr 2024 08:16:19 -0500 Subject: [PATCH] Update version in build --- build/Tasks/Package.cs | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/build/Tasks/Package.cs b/build/Tasks/Package.cs index 11be9de..6d60581 100644 --- a/build/Tasks/Package.cs +++ b/build/Tasks/Package.cs @@ -67,7 +67,7 @@ private static void SetManifestVersions(Context context, FilePath manifest, stri context.XmlPoke(manifest, "//package/@version", version); context.XmlPoke(manifest, "//assembly[name/text()=\"Engage.Dnn.SqlServerTypes.dll\"]/version", version); context.XmlPoke(manifest, "//assembly[name/text()=\"Microsoft.SqlServer.Types.dll\"]/version", version); - context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial140.dll\"]/version", version); + context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial160.dll\"]/version", version); } private static void CleanAndBuild(Context context, FilePath sln) @@ -86,22 +86,22 @@ private static void SetAssemblyInfoVersion(Context context, string version) context.CreateAssemblyInfo( assemblyInfoPath, new AssemblyInfoSettings - { - Version = version, - FileVersion = version, - InformationalVersion = version, - Company = assemblyInfo.Company, - Configuration = assemblyInfo.Configuration, - CLSCompliant = assemblyInfo.ClsCompliant, - Copyright = assemblyInfo.Copyright, - Description = assemblyInfo.Description, - Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid, - Product = assemblyInfo.Product, - Title = assemblyInfo.Title, - Trademark = assemblyInfo.Trademark, - ComVisible = assemblyInfo.ComVisible, - InternalsVisibleTo = assemblyInfo.InternalsVisibleTo, - }); + { + Version = version, + FileVersion = version, + InformationalVersion = version, + Company = assemblyInfo.Company, + Configuration = assemblyInfo.Configuration, + CLSCompliant = assemblyInfo.ClsCompliant, + Copyright = assemblyInfo.Copyright, + Description = assemblyInfo.Description, + Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid, + Product = assemblyInfo.Product, + Title = assemblyInfo.Title, + Trademark = assemblyInfo.Trademark, + ComVisible = assemblyInfo.ComVisible, + InternalsVisibleTo = assemblyInfo.InternalsVisibleTo, + }); } } } \ No newline at end of file