There are several ways to figure out which version of Umbraco a given Umbraco site is running.
Umbraco.Core.dll
For Umbraco 7 and higher, the File Properties dialog of Umbraco.Core.dll lists the Umbraco version:
However, older versions of Umbraco only show the Build version:
To retrieve the actual Umbraco version of older Umbraco installations, you need to resort to Powershell:
[System.Reflection.Assembly]::LoadWithPartialName("Umbraco.Core.dll") [Umbraco.Core.Configuration.UmbracoVersion]::Current [Umbraco.Core.Configuration.UmbracoVersion]::Current.ToString()
Compare the source code of the UmbracoVersion class of Umbraco 6, Umbraco 7, and Umbraco 8.
Database
Umbraco 7 keeps track of the installed or upgraded versions in the table umbracoMigration:
id | name | createDate | version |
---|---|---|---|
1 | Umbraco | 2017-05-11 15:45:57.410 | 7.6.1 |
2 | Umbraco | 2019-08-26 10:49:14.110 | 7.7.0 |
3 | Umbraco | 2019-08-26 13:56:57.727 | 7.15.2 |
web.config
Umbraco’s upgrade mechanism makes use of the <appSettings> to figure out whether a database upgrade is necessary. Depending on the version, the keys umbracoConfigurationStatus (up to V7), or Umbraco.Core.ConfigurationStatus (V8) are used:
<add key="umbracoConfigurationStatus" value="7.7.0" /> <add key="Umbraco.Core.ConfigurationStatus" value="8.1.4" />