We use local NuGet (BaGet) to store our custom packages. We assign a new version number for each update we make. I am sharing code snipped from my .csproj file in the below.
<PropertyGroup><TargetFramework>netstandard2.0</TargetFramework><RootNamespace>Macha.Abp.Common</RootNamespace><GeneratePackageOnBuild>True</GeneratePackageOnBuild><PackageReadmeFile>README.md</PackageReadmeFile><Version>5.3.3.23</Version></PropertyGroup>
Every single time my package is updated, I must update this version number(5.3.3.23, 5.3.3.24 , 5.3.3.25, 5.3.3.26 ... like this). 5.3.3 is my framework version.By the way we are using abpframework. I would like to read this version number from assemby like thistypeof(AbpModule).Assembly.GetFileVersion()+"23" But I don't know how can I write this code.
If you have any other suggestions, I would be happy to hear them
I would like find intellegince and simple solution