Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make LanguageExt.CodeGen work on Unity? #1288

Open
Houtamelo opened this issue Jan 11, 2024 · 2 comments
Open

How to make LanguageExt.CodeGen work on Unity? #1288

Houtamelo opened this issue Jan 11, 2024 · 2 comments

Comments

@Houtamelo
Copy link

Based on my understanding (after spending 6+ hours researching), Unity only supports source generators introduced in C# 9.
This library uses CodeGeneration.Roslyn which acts on MSBuild (something we can't do in Unity).

Has any Unity user managed to setup LanguageExt.CodeGen on Unity?

If not, I might attempt to port this library to C# 9's Source generators.

@louthy
Copy link
Owner

louthy commented Jan 11, 2024

If not, I might attempt to port this library to C# 9's Source generators

I'm doing that. But it's not a port, it's a whole new powerful meta-programming system, so won't be quickly implemented.

It will be a new project called LanguageExt.SourceGen; I'll then mothball the LanguageExt.CodeGen project

@Houtamelo
Copy link
Author

Are you accepting contributors already?

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

No branches or pull requests

2 participants