fix: Examples.csproj runs the download task when building locally
This commit is contained in:
parent
768fa93c41
commit
6aa91e3097
1 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue