Update Solution to use .Net 10 and C#14; Replaced Dependencies; Made Cross-Platform#301
Draft
shadowslasher410 wants to merge 2 commits into
Draft
Update Solution to use .Net 10 and C#14; Replaced Dependencies; Made Cross-Platform#301shadowslasher410 wants to merge 2 commits into
shadowslasher410 wants to merge 2 commits into
Conversation
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.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!