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

@ -117,17 +117,17 @@ dotnet test
Both projects can also consume the binding as a NuGet package but the in-repo version may not be published on
nuget.org yet. Pack it once into the local feed before the first build. Then to run against the Raylib-cs NuGet
package (the version set by `RaylibCsVersion` in [Directory.Build.props](Directory.Build.props)), set
`UseRaylibCsPackage`:
`RaylibCsForceLocalNuget`:
```sh
dotnet pack Raylib-cs -c Release -o nuget
dotnet build
```
```sh
dotnet run --project Examples -p:UseRaylibCsPackage=true
dotnet run --project Examples -p:RaylibCsForceLocalNuget=true
```
```sh
dotnet test -p:UseRaylibCsPackage=true
dotnet test -p:RaylibCsForceLocalNuget=true
```
Note that `NuGet.config` points restore at the local `./nuget` feed, so both projects pick up the freshly packed