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

feat: samples default to local project reference, and can optionally use the nuget package

This commit is contained in:
tiger tiger tiger 2026-07-17 07:33:58 +02:00
commit 28179a995e
2 changed files with 22 additions and 2 deletions

View file

@ -52,10 +52,14 @@
<Using Include="System.Numerics"/>
</ItemGroup>
<ItemGroup>
<ItemGroup Condition="'$(UseRaylibCsPackage)' != 'true'">
<ProjectReference Include="..\Raylib-cs\Raylib-cs.csproj"/>
</ItemGroup>
<Import Project="..\Raylib-cs\Raylib-cs.targets"/>
<Import Project="..\Raylib-cs\Raylib-cs.targets" Condition="'$(UseRaylibCsPackage)' != 'true'"/>
<ItemGroup Condition="'$(UseRaylibCsPackage)' == 'true'">
<PackageReference Include="Raylib-cs" Version="$(RaylibCsVersion)"/>
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'browser-wasm'">
<WasmExtraFilesToDeploy Include="Web/index.html" TargetPath="index.html"/>