Watch
2
0
Fork
You've already forked raylib-cs
0

fix: Examples.csproj runs the download task when building locally

This commit is contained in:
tiger tiger tiger 2026-07-19 09:38:31 +02:00
commit 6aa91e3097

View file

@ -23,6 +23,10 @@
<ProjectReference Include="..\Raylib-cs\Raylib-cs.csproj"/> <ProjectReference Include="..\Raylib-cs\Raylib-cs.csproj"/>
</ItemGroup> </ItemGroup>
<!-- NuGet imports this from buildTransitive/ for PackageReference; ProjectReference needs it imported from source
so the native raylib library is downloaded and copied to the output. -->
<Import Project="..\Raylib-cs\Raylib-cs.targets" Condition="'$(UseRaylibCsPackage)' != 'true'"/>
<ItemGroup Condition="'$(UseRaylibCsPackage)' == 'true'"> <ItemGroup Condition="'$(UseRaylibCsPackage)' == 'true'">
<PackageReference Include="Raylib-cs" Version="$(RaylibCsVersion)"/> <PackageReference Include="Raylib-cs" Version="$(RaylibCsVersion)"/>
</ItemGroup> </ItemGroup>