Description
The Version
property of the CodeArchive
class represents the version number of the code archive. This property is used to track changes and updates to the code archive over time. Each version number corresponds to a specific set of changes or updates made to the code archive.
For example:
1005
- Initial version
1006
- Razor updates, including the addition of Razor namespaces on older versions.
Usage
To access the Version
property, you need to have an instance of the CodeArchive
class. You can then read the property to determine the current version of the code archive.
Example usage:
CodeArchive archive = new CodeArchive();
long currentVersion = archive.Version;
// Use currentVersion to determine the version of the code archive
Example
CodeArchive archive = new CodeArchive();
long currentVersion = archive.Version;
// Use currentVersion to determine the version of the code archive