Skip to content

Commit

Permalink
Remove copytopublishdir, it does nothing from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed Oct 21, 2024
1 parent 066bd4d commit 827b223
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Raylib.NET.Native/Raylib.NET.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@
<Content Include="$(OutputPath)runtimes/**/**" Link="%(Filename)%(Extension)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/</PackagePath>
<CopyToPublishDirectory Condition="'$(SkipRuntimes)' == 'true'">Never</CopyToPublishDirectory>
</Content>
</ItemGroup>

<Target Name="CompileNatives" BeforeTargets="Build" Condition="'$(SkipNatives)' != 'true'">
<Target Name="CompileNatives" AfterTargets="Build" Condition="'$(SkipNatives)' != 'true'">
<Message Importance="High" Text="Build Target: $(RuntimeIdentifier) $(Configuration)"/>
<Message Importance="High" Text="Build Zig Target: $(ZigIdentifier) $(ZigConfiguration)"/>
<Exec Command="$(ZigExePath) build -Doptimize=$(ZigConfiguration) --prefix $(OutputPath)runtimes --prefix-lib-dir $(RuntimeIdentifier)/native -Dtarget=$(ZigIdentifier)"/>
Expand Down

0 comments on commit 827b223

Please sign in to comment.