Before, I was displaying my product version with :
@string.Format("v{0}", ViewContext.Controller.GetType().Assembly.GetName().Version)
where the version was stored in the AssemblyInfo.cs like so :
[assembly: AssemblyVersion("2.2.1.0")]
and the result was "v2.2.1"
Now, I'm using CI/CD with Azure DevOps and I'd like to display the $(Release.ReleaseName) instead of the AssemblyVersion.
How can I do that? Is it possible?