1

我正在使用 XML Manifest File,我希望在输出文件名中连接项目构建版本

例如:库-1.0.0.js

有可能或有任何解决方法吗?

4

1 回答 1

0

使用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" />
于 2014-03-25T15:50:54.763 回答