Ensure F# Support #235
Closed
TheCodeTraveler
started this conversation in
New Feature Discussions
Replies: 2 comments 4 replies
-
If I'm not wrong just C# support Source Generators (SG), so we need to pay attention when adding SG features like
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's ensure that
CommunityToolkit.Maui
has 1st Class support F# ❤️In the Xamarin Community Toolkit, we learned that we must make a concerted effort to ensure that our library works with both F# and C# projects:
I recommend making the following additions:
CommunityToolkit.Maui.Samples.Fsharp
CommunityToolkit.Maui
DLL compiles in F# projectsCommunityToolkit.Maui.UnitTests
CommunityToolkit.Maui.UnitTests.FSharp
CommunityToolkit.Maui.UnitTests
cannot accomplish that)The new sample app,
CommunityToolkit.Maui.Samples.Fsharp
, doesn't need to replicateCommunityToolkit.Maui.Sample
. Rather, it just needs to include a project reference toCommunityToolit.Maui
to ensure that bothCommunityToolkit.Maui
andCommunityToolkit.Maui.Core
successfully compile in an F# project.And the new Unit Test project,
CommunityToolkit.Maui.UnitTests.FSharp
doesn't need to replicate code fromCommunityToolkit.Maui.UnitTests
, rather it just needs to test code generated by Source Generators for F#.Beta Was this translation helpful? Give feedback.
All reactions