1

I'm using XML Manifest File and I'd like to have the project build version concatenated in the output file name

e.g: library-1.0.0.js

Is it possible or any work around?

Carlos
  • 192
  • 1
  • 1
  • 8

1 Answers1

0

Use https://msbuildextensionpack.codeplex.com/

 <MSBuild.ExtensionPack.Framework.Assembly TaskAction="GetInfo" NetAssembly="$(OutputPath)\xxx.dll" >
     <Output TaskParameter="OutputItems" ItemName="Info" />
     </MSBuild.ExtensionPack.Framework.Assembly>
     <Message Text="Version: %(Info.AssemblyVersion)" Importance="high" />
Micah Armantrout
  • 6,781
  • 4
  • 40
  • 66