<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <Target Name="Compile" DependsOnTargets="Prepare;
                                           CompileCLI;
                                           BuildProjectsForNuGetPackages;" />

  <Target Name="CompileCLI">
    <RemoveDir Directories="$(OutputDirectory)" />
    <MakeDir Directories="$(OutputDirectory)"/>

    <!-- Publish DotNet -->
    <MSBuild Projects="$(SrcDirectory)/redist/redist.csproj"
             Targets="Publish" />
  </Target>
</Project>
