Is there a way to check what the published target runtime is? There are different sets of deploy files that I want to copy to the publish directory depending on whether the target runtime is Linux or Windows. What would be the macro/property for checking the published runtime? I'm attempting to do something like the below:
<Target Name="CopyFiles" AfterTargets="Publish" Condition="$(TargetRuntime) == Linux-64">
<MakeDir Directories="$(PublishDir)" Condition="!Exists('$(PublishDir)Deploy')" />
<Copy SourceFiles ="$(SolutionDir)*" DestinationFolder ="$(PublishDir)Deploy" />
</Target>