Feature: Add Support for F# and VB Project Types by VaclavElias · Pull Request #1821 · stride3d/stride (original) (raw)
PR Details
This PR adds support for additional project types: .fsproj
and .vbproj
, enabling F# and Visual Basic coding in Stride's code-only approach. Further work may be required to integrate F# and Visual Basic into the Stride Game Studio, which I will leave to more experienced contributors.
Description
This PR serves as a follow-up to the incomplete #1078. I've implemented the changes necessary for a "code-only" approach, as I'm currently not familiar with Stride Game Studio.
To accommodate these changes, I've introduced a SupportedProgrammingLanguage
record and a SupportedProgrammingLanguages
class. I opted for these names as SupportedLanguage
is already used within the codebase for a different purpose.
I'm open to feedback on the naming conventions and the overall implementation. The core change involves extending the existing logic to account for .fsproj
and .vbproj
in addition to .csproj
.
Related Issue
Typical error when using other project types
Severity Code Description Project File Line Suppression State
Error 0.157s [AssetCompiler] Unsupported file extension (only .sln, .csproj and .sdpkg are supported) Example06_VBasic_Basic3DScene D:\Projects\GitHub\stride-community-toolkit\examples\code-only\Example06_VBasic_Basic3DScene\EXEC 1
Motivation and Context
Allowing to use other .NET languages as they should be working.
Types of changes
- Docs change / refactoring / dependency upgrade
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- My change requires a change to the documentation - announcing this feature
- I have added tests to cover my changes.
- All new and existing tests passed.