2020-07-26 20:51:51 +00:00
|
|
|
<Project>
|
|
|
|
<ItemGroup>
|
|
|
|
<RuntimeFiles Include="..\Runtimes\$(RuntimeIdentifier)\*" />
|
|
|
|
</ItemGroup>
|
2021-04-26 18:07:16 +00:00
|
|
|
<Target Name="CopyRuntimeFilesOnBuild" AfterTargets="AfterBuild" Condition="!$(RuntimeIdentifier.StartsWith('linux')) or '$(TargetFramework)' == 'net5.0'">
|
2020-07-26 20:51:51 +00:00
|
|
|
<Copy SourceFiles="@(RuntimeFiles)" DestinationFolder="$(OutDir)" />
|
|
|
|
</Target>
|
2021-04-26 18:07:16 +00:00
|
|
|
<Target Name="CopyRuntimeFilesOnPublish" AfterTargets="Publish" Condition="!$(RuntimeIdentifier.StartsWith('linux')) or '$(TargetFramework)' == 'net5.0'">
|
2020-07-26 20:51:51 +00:00
|
|
|
<Copy SourceFiles="@(RuntimeFiles)" DestinationFolder="$(PublishDir)" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|