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

@ -96,6 +96,22 @@ internal static class Program
}
```
## Building the examples locally
The `Examples` project references the sibling `Raylib-cs` project by default, so local changes to the
bindings are picked up directly:
```
dotnet run --project Examples
```
To build the examples against the Raylib-cs NuGet package instead (the version set by
`RaylibCsVersion` in [Directory.Build.props](Directory.Build.props)), set `UseRaylibCsPackage`:
```
dotnet run --project Examples -p:UseRaylibCsPackage=true
```
## Contributing
Feel free to open an issue. If you'd like to contribute, please fork the repository and make