Pretty simple one: I have the following version number with an rc suffix in my project file. This is allowed according to this document and it compiles without warning.
<PropertyGroup>
<Version>3.0.2.1294-rc</Version>
</PropertyGroup>
When accessing said version information with the line

I don't see the suffix information anywhere. Anyone know a way to extract that suffix information?
I think you may be looking for this attribute:
var infoVersion = Assembly.GetExecutingAssembly()?
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?
.InformationalVersion
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With