feat: samples default to local project reference, and can optionally use the nuget package
This commit is contained in:
parent
8739e3b347
commit
28179a995e
2 changed files with 22 additions and 2 deletions
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue