Targeting .NET 6 #395
-
Hi @StephenHodgson. I want to use OpenAI-DotNet in Godot 4.x, However, Godot 4.x officially supports .NET 6, and currently the library doesn't target this framework version. Current SituationLooking at the project files, I notice OpenAI-DotNet currently targets .NET 8.0 and bove. The library would be extremely valuable for people using Godot 4.x, which has standardized on .NET 6 support (LTS). RequestWould it be possible to add .NET 6 as a target framework? This would enable usage with Godot 4.x projects and potentially other .NET 6 applications. Value Add
.NET 6 is fully backward compatible with newer .NET versions, so this addition (shouldn't?) affect existing functionality. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
.net6 reached end of life and no longer gets support or updates. Unfortunately I did take the breaking changes and incorporated them into the library already and the min supported version is currently .net8. You could fork this library and add your backwards capabilities but you'd also be losing out on a few performance upgrades. That being said, I am genuinely surprised Godot doesn't have a way to upgrade the .net target version, and since it is .net6 shouldn't it be fairly trivial to update it since .net6 is no longer in support lifecycle? |
Beta Was this translation helpful? Give feedback.
.net6 reached end of life and no longer gets support or updates. Unfortunately I did take the breaking changes and incorporated them into the library already and the min supported version is currently .net8.
You could fork this library and add your backwards capabilities but you'd also be losing out on a few performance upgrades.
That being said, I am genuinely surprised Godot doesn't have a way to upgrade the .net target version, and since it is .net6 shouldn't it be fairly trivial to update it since .net6 is no longer in support lifecycle?