Create MBServer.zip with version number

This commit is contained in:
Eric Reed 2013-03-05 09:09:37 -05:00
parent ffa702295a
commit 795a6ccd9e

View File

@ -402,4 +402,10 @@ del "$(SolutionDir)..\Deploy\MBServer.zip"
<Target Name="AfterBuild">
</Target>
-->
<Target Name="AfterBuild">
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
<Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
</GetAssemblyIdentity>
<Exec Command="ren $(SolutionDir)..\Deploy\MBServer.zip MBServer_%(CurrentAssembly.Version).zip" Condition="'$(ConfigurationName)' == 'Release'"/>
</Target>
</Project>