Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

AssemblyInfo task in Directory.Build.targets

$
0
0
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


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>