I am very new to this. I have a Visual Studio 2019 solution which has multiple projects based on .Net Framework 4.7 Class Library. I need to control the Assembly Version from MSBuild through Jenkins. For this, I am trying to use Directory.Build.targets.
I also read about AssemblyInfo task from MSBuild.Extension.Pack Nuget package from which I can use this. But, I can't get AssemblyInfo task to work from Directory.Build.targets file. Can anyone please help me with a detailed example?
Ven