- Developer has below code getting the version number of a DWT template.
TemplateBuildingBlockData designDwt = csClient.Read(originalDwtLocation, readOptions) as TemplateBuildingBlockData;
FullVersionInfo versionInfo = designDwt.VersionInfo as FullVersionInfo;
originalDwtVerId = versionInfo.Version.ToString() + ".0";
- For certain templates, the wrong version number is being returned. If the actual version number is a number such as 96; instead a 1, 3, or 6 will be returned instead.
- Issue only reproducible on Production environment, not lower environments.