Skip to content

Commit 341bbb6

Browse files
committed
Update version in build
1 parent bf7edd9 commit 341bbb6

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

build/Tasks/Package.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private static void SetManifestVersions(Context context, FilePath manifest, stri
6767
context.XmlPoke(manifest, "//package/@version", version);
6868
context.XmlPoke(manifest, "//assembly[name/text()=\"Engage.Dnn.SqlServerTypes.dll\"]/version", version);
6969
context.XmlPoke(manifest, "//assembly[name/text()=\"Microsoft.SqlServer.Types.dll\"]/version", version);
70-
context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial140.dll\"]/version", version);
70+
context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial160.dll\"]/version", version);
7171
}
7272

7373
private static void CleanAndBuild(Context context, FilePath sln)
@@ -86,22 +86,22 @@ private static void SetAssemblyInfoVersion(Context context, string version)
8686
context.CreateAssemblyInfo(
8787
assemblyInfoPath,
8888
new AssemblyInfoSettings
89-
{
90-
Version = version,
91-
FileVersion = version,
92-
InformationalVersion = version,
93-
Company = assemblyInfo.Company,
94-
Configuration = assemblyInfo.Configuration,
95-
CLSCompliant = assemblyInfo.ClsCompliant,
96-
Copyright = assemblyInfo.Copyright,
97-
Description = assemblyInfo.Description,
98-
Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid,
99-
Product = assemblyInfo.Product,
100-
Title = assemblyInfo.Title,
101-
Trademark = assemblyInfo.Trademark,
102-
ComVisible = assemblyInfo.ComVisible,
103-
InternalsVisibleTo = assemblyInfo.InternalsVisibleTo,
104-
});
89+
{
90+
Version = version,
91+
FileVersion = version,
92+
InformationalVersion = version,
93+
Company = assemblyInfo.Company,
94+
Configuration = assemblyInfo.Configuration,
95+
CLSCompliant = assemblyInfo.ClsCompliant,
96+
Copyright = assemblyInfo.Copyright,
97+
Description = assemblyInfo.Description,
98+
Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid,
99+
Product = assemblyInfo.Product,
100+
Title = assemblyInfo.Title,
101+
Trademark = assemblyInfo.Trademark,
102+
ComVisible = assemblyInfo.ComVisible,
103+
InternalsVisibleTo = assemblyInfo.InternalsVisibleTo,
104+
});
105105
}
106106
}
107107
}

0 commit comments

Comments
 (0)