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

Rename msbuild prop UseRaylibCsPackage to RaylibCsForceLocalNuget

This commit is contained in:
Rgebee 2026-08-13 20:02:06 +01:00
commit 9073448241
4 changed files with 11 additions and 11 deletions

View file

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

View file

@ -12,7 +12,7 @@ The browser-wasm configuration only activates when publishing with
- .NET 10 SDK
- `dotnet workload install wasm-tools`
- Raylib-cs (works with the local project, or nuget if MSBuild property `<UseRaylibCsPackage>` is `true`
- Raylib-cs (works with the local project, or nuget if MSBuild property `<RaylibCsForceLocalNuget>` is `true`
## Build