Watch
2
0
Fork
You've already forked raylib-cs
0
Commit graph raylib-cs/Raylib-cs.sln
Author SHA1 Message Date
tiger tiger tiger
565f0912ea
WASM support, using official binaries (#341)
* chg: New build system that uses the officially distributed binaries, bumped version to 8.0.0, simplified git workflow, removed deprecated OpenGL 1.1 functionality.

* chg: Modernize CI workflow, enable SourceLink

- Bump workflow actions to latest majors (Node 24); drop deprecated softprops/action-gh-release@v1
- Trigger push builds on main instead of master
- Create local nuget feed dir before pack (fixes NU1301)
- Enable Microsoft.SourceLink.GitHub for debugging symbols (ref PR #340)

* fix: centralized version data in Directory.build.props, and fixed various interop details that had incorrect function signatures

* chore: updated readme

* fix: version the native extract marker and chain download via DependsOnTargets

The .extracted marker now includes the raylib package name, so bumping
TargetRaylibTag re-extracts the new archive instead of silently keeping
(and packing/copying) the previous version's files.

_PrepareNativeLibrary and _StageWasmNative now depend directly on
_DownloadAndExtractInternal instead of CallTarget-ing it; dependency
targets run in the same project instance, so the resolved properties
(RaylibPackageName etc.) propagate naturally.

* fix: let the binding build for browser-wasm on both net8.0 and net10.0

The net8-era wasm workload (Microsoft.NET.Runtime.WebAssembly.Sdk 8.0.x,
auto-imported for RID browser-wasm) treats every browser-wasm project as
a wasm app: it forces OutputType=Exe after project evaluation (CS5001
for a classlib) and hooks its app-bundle build after Build, which errors
because a library has no assemblies to bundle. Opt Raylib-cs out via
DisableAutoWasmBuildApp (props time, before the workload defaults its
trigger) and pin OutputType back to Library in Directory.Build.targets
(evaluated after the workload props, so the assignment wins). net10's
wasm SDK needs neither workaround.

* chore: readme updated

* chg: simplifying build logic - a simple line in the documentation should save us the code here

* fix: Wrong signature of FrameBufferComplete

* chore: readme update

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

* fix: Examples.csproj runs the download task when building locally
2026-07-20 18:39:19 +01:00
f7fd66b7eb
Native build improvements (#235)
* Add Raylib-cs.Native to solution
* Update build.yml to use local build
* Remove experimental android setup
2024-06-08 07:27:01 +01:00
863c1da25d Fix AnimationDemo and improve build 2023-11-03 10:32:54 +00:00
d716a80775 Convert android project to example project 2023-09-05 07:20:02 +01:00
bcdf8cec5b
Update/merge examples back into main repo (#192) 2023-08-25 08:08:32 +01:00
873b712cd9 Move build props into Raylib-cs and update Raylib-cs.sln
Remove Raylib-cs.Native from sln for now due to build issues
2023-08-24 10:42:17 +01:00
ffe4b0f5b8 Add Raylib-cs.Native project 2023-08-23 14:53:12 +01:00
Angga Permana
5ae2104c9a
Add experimental Android support (#190)
* Add `Raylib-cs.Android` project
* Update ci to handle android native libraries
* Update ci to pack android project
2023-08-23 13:18:50 +01:00
Ben Parsons
ff96c5f420 Added Platform.cs - to copy (correct) native library at runtime (for netfx)
Targets file now copies runtimes folder to output directory
minor bug fix in sln file.
2020-05-08 02:20:20 +10:00
c8ddc440bb Updated Build platforms
For upcoming NuGet support
2020-05-02 04:27:16 +10:00
5bc1ba5d80 Renamed Tests to Raylib-cs.Tests.
- Updated Raylib-cs.sln.
- Renamed Tests/Tests.csproj to Raylib-cs.Tests/Raylib-cs.Tests.csproj
- Removed unused nuget.config.
2020-04-25 11:35:36 +01:00
631493ac87 Initial project update.
- Updated github actions workflow to build using .NET Core on Linux, Windows and Mac.
- Updated Raylib-cs.sln with project name changes.
- Added experimental netfx.props to help with building using Mono on Linux.
- Added app.config.
2020-04-01 14:35:26 +01:00
af6d15fa67 Updated project files.
- Removed old project references.
- Updated Tests.MultiTarget.csproj.
- Removed DotNet.ILCompiler from CoreRT for now. Plan to revisit in the future.
- Removed logo from project. Uses Logo folder instead.
- Changed LICENSE to LICENSE.md.
2019-12-11 11:24:20 +00:00
dd9710fc57 - Improvements for 2.5 release. Alot more work than I expected.
- Examples are out of date and will need to be regenerated before release.
2019-04-22 07:40:01 +01:00
3ea05ab540 Testing updated nuget
- Trying to fix issues with .NET Core and nuget. Moved nuget files into bindings folder.
2019-03-15 11:41:38 +00:00
2725e1df2a Remove bindings project
- No longer needed. Binding code should be included directly in project for more control.
2019-02-10 16:59:56 +00:00
d4d47694d4 Moving dependencies so there in one place
- Removed lib folder from Test projects.
- Added native folder to Bindings using release build with debug info.
- Updated Test projects to use new location ,
2018-12-29 12:23:17 +00:00
msmshazan
2326fe035a Added Generator project 2018-12-17 21:53:56 +05:30
ec4f2f0472 Added Test.CoreRT
- Basic command line menu for core project.
- Made a copy of Test.Core that uses corert compiler.
2018-10-23 09:13:56 +01:00
6a02bb9d08 Porting examples
- Test.Common now used for Examples project.
- Testing examples alot.
2018-10-22 16:10:20 +01:00
msmshazan
6285895ad5 added new runtimes 2018-10-21 23:04:32 +05:30
529126bfa7 Test project now uses core
- Changed Test project from framework to core.
2018-10-21 14:17:43 +01:00
fc0527a2ef Review and cleanup
- General cleanup.
- Fixed missing functions from raymath.
- Nuget info part of project file.
2018-10-20 13:16:58 +01:00
a9da337c0e Bindings moved to standard
- Bindings changed to a .Net standard library.
- Split up testing code and library into a Test project.
2018-10-18 13:55:03 +01:00
7008c67dfa Changing examples to use makefile
- Testing a modified version of the makefile from raylib Instead of multiple project files for examples.
- Fixed readme example
2018-10-01 09:25:18 +01:00
62561d0bdb Setting up examples project
- Dedicated project for raylib examples using Bindings as a class library.
2018-09-10 11:42:18 +01:00
509ddf233f Alot of binding improvements!
- Improved bindings and added initial ones for Easings, Physac, Raygui and Raymath(Not yet fully tested).
- Renamed ExamplesApplication to Bindings to make it more clear.
- Examples separated from bindings.
- Improve readme to reflect changes.
2018-08-31 09:30:32 +01:00
5286546ad4 Added Raymath binding + Initial examples
- Added Raymath.cs binding. Raylib.cs depends on this since they both share some types.
- Bindings moved into source directly.
- Inital examples port alot of syntax still needs to be fixed.
- Couldn't get cppsharp to work correctly so using a custom generator(WIP).
2018-08-17 09:34:50 +01:00
2995318a4e Project tidying
- Project now uses AnyCPU.
- Fixed assembly info and renamed Raylib-cs project to Generator.
- Removed resources folder and dlls.
- Improving current manual bindings.
2018-08-04 21:04:02 +01:00
Renamed from Raylib-cs/Raylib-cs.sln (Browse further)