Skip to content

Commit

Permalink
build: fix nuget target override (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 authored Oct 24, 2023
1 parent 741fdaf commit 8e57b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CrossTargeting.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
<Message Importance="high" Text="OVERRIDING NUGET PACKAGE CACHE: $(_TargetNugetFolder) [and $(TargetPlatformVersion)]" />

<Copy SourceFiles="@(_OutputFiles)" DestinationFiles="@(_OutputFiles->'$(_TargetNugetFolder)\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy Condition="'$(TargetPlatformVersion)'!='' and $(TargetFramework.Contains('net6.0-')) and !$(TargetFramework.Contains('windows10'))" SourceFiles="@(_OutputFiles)" DestinationFiles="@(_OutputFiles->'$(_TargetNugetFolder)$(TargetPlatformVersion)\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy Condition="'$(TargetPlatformVersion)'!='' and $(TargetFramework.Contains('net7.0-')) and !$(TargetFramework.Contains('windows10'))" SourceFiles="@(_OutputFiles)" DestinationFiles="@(_OutputFiles->'$(_TargetNugetFolder)$(TargetPlatformVersion)\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
</Project>

0 comments on commit 8e57b20

Please sign in to comment.