show some usage about MSBuild
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- other visual studio project configs -->
<Target Name="AfterBuild" Condition="'$(Configuration)'=='Release'">
<ItemGroup>
<ZipFiles Include="..\kits\$(ProjectName)" />
<ScriptFiles Include="..\ui\**\*.*" />
</ItemGroup>
<RemoveDir Directories="@(ZipFiles)" />
<Copy SourceFiles="@(ScriptFiles)" DestinationFiles="@(ScriptFiles->'..\kits\$(ProjectName)\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="..\kits\$(ProjectName)\lib" />
<!-- WorkingDirectory is the base of the zip file. All files will be made relative from the working directory. -->
<!-- Flatten="True" means that all directories will be removed and the files will be placed at the root of the zip file. -->
<!-- Flatten="False" package all files and preserve folder structure -->
<Zip ZipFileName="..\kits\Port$(ProjectName)-Net.zip" WorkingDirectory="..\kits" Files="@(ZipFiles)" Flatten="False" Quiet="true" />
<RemoveDir Directories="@(ZipFiles)" />
</Target>
</Project>