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