ChiraEngine icon indicating copy to clipboard operation
ChiraEngine copied to clipboard

Feat: .NET Scripting

Open ashifolfi opened this issue 3 years ago • 2 comments

This pull request attempts to add support for using .NET languages for scripting. There are two options by which this can be done, through the Microsoft .NET Core method or with Mono. Given even Unity is moving off of Mono at this point the best idea would be to use the method everyone else is which offers a much higher version support for .NET and the C# language in particular.

Topical Issues: #28

Current Todo:

  • [x] Research how to go about doing this (hostfxr will be used)
  • [ ] Create a plan for implementation
  • [ ] Hard reset this branch to current state of main (remove previous extremely out of date work)

ashifolfi avatar Jan 02 '23 00:01 ashifolfi

image

ashifolfi avatar Jan 02 '23 01:01 ashifolfi

The best way to achieve this currently is with the hostfxr API/system Microsoft created for .NET.

relevant resources:

  • https://github.com/dotnet/samples/tree/main/core/hosting
  • https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting

ashifolfi avatar Apr 26 '24 12:04 ashifolfi