Skip to content

Update Solution to use .Net 10 and C#14; Replaced Dependencies; Made Cross-Platform#301

Draft
shadowslasher410 wants to merge 2 commits into
Norbyte:masterfrom
shadowslasher410:master
Draft

Update Solution to use .Net 10 and C#14; Replaced Dependencies; Made Cross-Platform#301
shadowslasher410 wants to merge 2 commits into
Norbyte:masterfrom
shadowslasher410:master

Conversation

@shadowslasher410

Copy link
Copy Markdown

I know this is a gigantic PR, so apologies in advance, but I've been working on this for a while and have finally finished rewriting the entire solution to use .Net 10 and c#14. I also reworked the solution's dependencies (all of which available via NuGet): CommandLineArgumentsParser -> System.Commandline, Newtonsoft.Json ->System.Text.Json, Google.Protobuf ->LightProto, Grpc.Tools -> Superpower, Winforms ->Avalonia (with Reactiveui.Avalonia and Xaml.Behaviors.Avalonia for bindings/events.
I haven't tested it on other machines (I use an AMD64 Windows 11), but it should now be able to be used cross-platform (Windows, Linux, and Mac).

If you have questions about why I did something a certain way or something, feel free to ask!

shadowslasher410 and others added 2 commits April 30, 2026 22:27
Add explicit AnyCPU;x64 platform support and x64 property groups update solution VS version/config mappings (was necessary as I use  AMD64 CPU).
Update NuGet package versions (Google.Protobuf, Grpc.Tools, System.IO.Hashing, ZstdSharp.Port).
Improve DebuggerFrontend error handling and modernize using patterns.
Fix native/C++ issues: safer allocator (null check), prevent buffer leak when loading PhysX binary collections by tracking buffers and adding ReleaseCollection,
 adjust PhysicsTool project warnings/settings,
 and harden LZ4 wrapper (zero-init structs, compress/decompress size overflow checks).
Miscellaneous code cleanups and refactors in PxEncoder/PxLoader to handle index types and const-correctness.
…Cross-Platform

Rewrote entire solution to use .Net 10 and c#14. Reworked project dependencies (all available via NuGet): CommandLineArgumentsParser -> System.Commandline, Newtonsoft.Json ->System.Text.Json, Google.Protobuf ->LightProto, Grpc.Tools -> Superpower, Winforms ->Avalonia (with Reactiveui.Avalonia and Xaml.Behaviors.Avalonia for bindings/events. I haven't tested it on other machines (I use an AMD64 Windows 11), but it should now be able to be cross-platform.
@shadowslasher410

shadowslasher410 commented May 24, 2026

Copy link
Copy Markdown
Author

Also note that I didn't increment the project versions nor update the readme, so that still has to be done. Going to put this in draft until I can test/debug it properly, make sure it all works.

@shadowslasher410 shadowslasher410 marked this pull request as draft May 24, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant