title: dotnet publish -o ./dist does not set $OutDir or $OutPath in msbuild
body: <p>I Have a file move event which I want to trigger after a publish</p>
  
  <pre><code>&lt;Target Name="CopyEmailTemplates" AfterTargets="AfterPublish"&gt;
      &lt;ItemGroup&gt;
        &lt;TemplatesFolder Include="Views\EmailTemplates\*.cshtml" /&gt;
      &lt;/ItemGroup&gt;
      &lt;Copy SourceFiles="@(TemplatesFolder)" DestinationFolder="$(OutDir)Views\EmailTemplates\" /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>I've confirmed that the command does not return the publish directory with this target:</p>
  
  <pre><code>&lt;Target Name="OutputTest" AfterTargets="AfterPublish"&gt;
      &lt;Exec Command="echo OutPath: $(OutputPath)" /&gt;
      &lt;Exec Command="echo OutDir: $(OutDir)" /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p><strong>Expected:</strong>
  OutDir is set to dist/</p>
  
  <p><strong>Actual behavior:</strong>
  OutDir is set to bin/Release/netcoreapp2.0/</p>
  
  <p><strong>I am using:</strong> .NET Command Line Tools (2.1.4) on osx.10.12-x64</p>